aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/asset_tag_helpers/asset_include_tag.rb
Commit message (Collapse)AuthorAgeFilesLines
* load active_support/core_ext/class/attribute in active_support/railsXavier Noria2012-08-021-1/+0
|
* add :nodoc: to AV StylesheetIncludeTag, JavascriptIncludeTag and AssetIncludeTagFrancesco Rodriguez2012-06-191-1/+1
|
* Allow asset tag helper methods to accept :digest => false option in order to ↵Santiago Pastorino2011-09-141-2/+2
| | | | completely avoid the digest generation.
* Added a configuration setting:Chris Eppstein2011-06-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | 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
* Stylesheet link tags should use the request protocol to avoid duplicate ↵Chris Eppstein2011-06-271-2/+2
| | | | | | | | | 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
* Add asset_url helper and refactor the asset paths so that asset hosts can be ↵Chris Eppstein2011-06-271-12/+11
| | | | | | | | | | 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
* Let's use inheritance here, shall we?José Valim2011-04-191-2/+3
|
* Applied changes to stylesheet_link_tag from javascript_include_tag which ↵Josh Kalderimis2011-02-131-3/+15
| | | | corrects issues with ordering and duplicates.
* Do not use the same hash instance for expansions [#6114 state:resolved]Piotr Sarnacki2010-12-221-1/+3
| | | | | Using the same hash instance makes using the same expansions for both javascripts and stylesheets.
* No need to return anythingNeeraj Singh2010-11-241-1/+0
|
* Fix AssetIncludeTag ensuring that files are in the wrong directory [#6015 ↵Henning Koch2010-11-191-3/+3
| | | | | | state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* corrected the AV railtie to use the new home for cache_asset_timestamps, and ↵Josh Kalderimis2010-11-161-2/+0
| | | | merged asset id caching and asset paths together.
* reorganised the the common asset helpers module into a class and have it ↵Josh Kalderimis2010-11-161-11/+7
| | | | include the id caching module, this class is now shared from the view instance to the asset include tag helpers (js and css)
* incorporated most of the feedback from JoséJosh Kalderimis2010-11-161-7/+14
|
* reduced duplication between the javascript and stylesheet asset tag methods, ↵Josh Kalderimis2010-11-161-0/+132
also split the asset id caching methods into a separate module for easy inclusion and use by the asset include tag class and base asset tag helpers