1. 25 1月, 2012 1 次提交
  2. 25 9月, 2011 1 次提交
  3. 25 7月, 2011 1 次提交
  4. 24 7月, 2011 1 次提交
  5. 08 7月, 2011 3 次提交
  6. 28 6月, 2011 4 次提交
    • X
    • C
      Added a configuration setting: · 024bed38
      Chris Eppstein 提交于
        config.action_controller.default_asset_host_protocol
      
      It's best to leave this unset.
      
      When unset the :request protocol is used whenever it can be and
      :relative is used in the other situations.
      
      When set to :request then assets hosts will be disabled when there
      is no request in scope and will use the request protocol whenever a
      request is in scope.
      
      If set to :relative, then a relative protocol is always used except
      for stylesheet link tags which must use the :request protocol to
      avoid double downloads in IE6&7.
      
      Conflicts:
      
      	actionpack/lib/sprockets/helpers/rails_helper.rb
      	actionpack/test/template/sprockets_helper_test.rb
      024bed38
    • C
      Stylesheet link tags should use the request protocol to avoid duplicate... · 6c64e1e3
      Chris Eppstein 提交于
      Stylesheet link tags should use the request protocol to avoid duplicate download of stylesheets in IE7 and IE8.
      
      Conflicts:
      
      	actionpack/lib/action_view/helpers/asset_tag_helpers/stylesheet_tag_helpers.rb
      	actionpack/lib/sprockets/helpers/rails_helper.rb
      6c64e1e3
    • C
      Add asset_url helper and refactor the asset paths so that asset hosts can be... · 96137e8b
      Chris Eppstein 提交于
      Add asset_url helper and refactor the asset paths so that asset hosts can be used during asset precompilation.
      
      Conflicts:
      
      	actionpack/lib/action_view/asset_paths.rb
      	actionpack/lib/sprockets/helpers/rails_helper.rb
      	actionpack/test/template/sprockets_helper_test.rb
      96137e8b
  7. 27 4月, 2011 1 次提交
  8. 26 4月, 2011 2 次提交
  9. 16 4月, 2011 1 次提交
  10. 28 2月, 2011 2 次提交
  11. 13 2月, 2011 2 次提交
  12. 23 12月, 2010 1 次提交
  13. 22 12月, 2010 1 次提交
  14. 20 11月, 2010 1 次提交
  15. 16 11月, 2010 2 次提交
  16. 12 11月, 2010 1 次提交
  17. 27 9月, 2010 1 次提交
  18. 20 9月, 2010 1 次提交
  19. 04 9月, 2010 1 次提交
  20. 23 6月, 2010 2 次提交
  21. 08 6月, 2010 1 次提交
  22. 15 5月, 2010 1 次提交
  23. 09 4月, 2010 2 次提交
  24. 08 4月, 2010 2 次提交
  25. 03 4月, 2010 1 次提交
    • W
      Refactored url_for in AV to have its own instances of the helpers instead of... · 3eb97531
      wycats 提交于
      Refactored url_for in AV to have its own instances of the helpers instead of proxying back to the controller. This potentially allows for more standalone usage of AV. It also kicked up a lot of dust in the tests, which were mocking out controllers to get this behavior. By moving it to the view, it made a lot of the tests more standalone (a win) 
      3eb97531
  26. 29 3月, 2010 2 次提交
    • W
    • C
      Allow customisation of asset path generation using a proc. · 49bc6a24
      Craig R Webster 提交于
      Set config.action_controller.asset_path_template to a proc that takes one
      argument - the direct, unchanged asset path - and returns a path to that asset
      using the scheme that your assets require.
      
      This is useful if you have a setup which scales by introducing new application
      servers where the mtime of the asset files may not be the same as those of the
      asset files on your previous servers, but it does require your web servers to
      have knowledge of the asset template paths that you rewrite to so it's not
      suitable for out-of-the-box use. An example of configuring asset path
      generation and rewriting these paths using Apache is included in
      actionpack/lib/action_view/helpers/asset_tag_helper.rb.
      Signed-off-by: Nwycats <wycats@gmail.com>
      49bc6a24
  27. 15 3月, 2010 1 次提交