1. 11 9月, 2012 1 次提交
  2. 30 8月, 2012 3 次提交
  3. 14 8月, 2012 1 次提交
  4. 30 7月, 2012 1 次提交
  5. 22 7月, 2012 1 次提交
  6. 18 7月, 2012 1 次提交
  7. 30 6月, 2012 1 次提交
  8. 17 6月, 2012 1 次提交
    • S
      Respect absolute paths in compute_source_path. · afb053b4
      Steve Klabnik 提交于
      When using compute_source_path to determine the full path of an
      asset, if our source begins with '/', we don't want to include
      the directory. Examples are illustrative:
      
      > compute_source_path("foo", "stylesheets", "css")
      => "/Users/steve/src/my_app/public/stylesheets/foo.css"
      > compute_source_path("/foo", "stylesheets", "css")
      => "/Users/steve/src/my_app/public/foo.css"
      
      Before this patch, the second example would return the same as the
      first.
      
      Fixes #5680.
      afb053b4
  9. 28 5月, 2012 1 次提交
    • P
      Fix sorting of helpers from different paths · e4aaac13
      Piotr Sarnacki 提交于
      When more than one directory for helpers is provided to a controller, it
      should preserver the order of directories. Given 2 paths:
      
          MyController.helpers_paths = ["dir1/helpers", "dir2/helpers"]
      
      helpers from dir1 should be loaded first. Before this commit, all
      helpers were mixed and then sorted alphabetically, which essentially
      would require to rename helpers to get desired order.
      
      This is a problem especially for engines, where you would like to be
      able to predict accurately which engine helpers will load first.
      
      (closes #6496)
      e4aaac13
  10. 18 5月, 2012 1 次提交
  11. 15 5月, 2012 1 次提交
  12. 05 5月, 2012 1 次提交
  13. 30 4月, 2012 3 次提交
  14. 29 3月, 2012 1 次提交
  15. 27 3月, 2012 1 次提交
    • P
      If partial is rendered in controller, grab format from template · 67b2404c
      Piotr Sarnacki 提交于
      Previously `rendered_format` was set only based on mime types
      passed in Accept header, which was wrong if first type from
      Accept was different than rendered partial. The fix is to simply
      move setting rendered_format to the place where template
      is available and grab format from the template. If it fails
      we can fallback to formats passed by Accept header.
      67b2404c
  16. 23 3月, 2012 1 次提交
  17. 17 3月, 2012 1 次提交
  18. 14 3月, 2012 1 次提交
  19. 06 3月, 2012 1 次提交
  20. 22 2月, 2012 1 次提交
  21. 21 2月, 2012 1 次提交
  22. 20 2月, 2012 1 次提交
  23. 17 2月, 2012 2 次提交
  24. 13 2月, 2012 1 次提交
  25. 05 2月, 2012 1 次提交
  26. 30 1月, 2012 1 次提交
  27. 04 1月, 2012 1 次提交
  28. 30 11月, 2011 3 次提交
  29. 27 11月, 2011 1 次提交
  30. 14 10月, 2011 1 次提交
  31. 23 9月, 2011 1 次提交
  32. 22 9月, 2011 2 次提交