aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/asset_tag_helpers/stylesheet_tag_helpers.rb
Commit message (Collapse)AuthorAgeFilesLines
* Removing ==Examples and last blank lines of docs from actionpackFrancesco Rodriguez2012-05-151-3/+0
|
* Code-format references to config settingsMark Rushakoff2012-04-271-1/+1
|
* Remove unnecessary in HTML 5 type attribute with default valueAndrey A.I. Sitnik2012-04-051-22/+22
|
* Add *_url helpers to get the full assets URLPrem Sichanugrist2012-02-041-0/+7
| | | | | | | Adds `image_url`, `javascript_url`, `stylesheet_url`, `audio_url`, `video_url`, and `font_url` to assets tag helper. These URL helpers will return the full path to your assets. This is useful when you are going to reference this asset from external host.
* Make explicit the default media when calling stylesheet_tag and change the ↵Marc-Andre Lafortune2011-11-221-0/+3
| | | | default generators.
* escape options for the stylesheet_link_tag methodAlexey Vakhov2011-09-251-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-1/+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-7/+3
| | | | | | | | | 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
* Remaining cleanup from changes to AssetTagHelpertomhuda2011-05-241-6/+2
|
* Replace example hostname with "example.com".Joost Baaij2011-04-211-7/+7
| | | | | The hostname used in these comments actually exists, which is undesirable. See also RFC 2606.
* Let's use inheritance here, shall we?José Valim2011-04-191-3/+0
|
* Switch to asset_path and make it available in the Sprockets::Context (now ↵David Heinemeier Hansson2011-04-191-1/+1
| | | | you can do asset_path("logo.png") in a stylesheet.css.erb file and get fingerprinting)
* Use sprockets helpers if config.use_sprockets is setJoshua Peek2011-03-291-3/+11
|
* Remove sprockets exception from main asset helpersJoshua Peek2011-03-281-10/+0
|
* Add sprockets md5s to asset tagsJoshua Peek2011-03-221-0/+10
|
* javascript_include_tag shouldn't raise if you register an expansion key with ↵Santiago Pastorino2011-02-281-1/+1
| | | | nil value
* Allow registering javascript/stylesheet_expansions to existing symbolsSantiago Pastorino2010-12-221-2/+5
|
* reorganised the the common asset helpers module into a class and have it ↵Josh Kalderimis2010-11-161-4/+3
| | | | 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-12/+13
|
* reduced duplication between the javascript and stylesheet asset tag methods, ↵Josh Kalderimis2010-11-161-48/+23
| | | | 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
* separated the asset id methods to a separate module, removed some dupliation ↵Josh Kalderimis2010-11-161-4/+9
| | | | with the various path methods, and moved the base asset tag methods to a base module so the asset id module can play nice with the path generation
* split the javascript and stylesheet tag helpers into separate files as a ↵Josh Kalderimis2010-11-161-0/+164
precusor before removing the duplication between the two