aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/asset_tag_helpers
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-05-011-1/+1
|\
| * Code-format references to config settingsMark Rushakoff2012-04-271-1/+1
| |
* | Add missing require when helpers are used in isolationRafael Mendonça França2012-04-301-0/+1
|/
* Remove unnecessary in HTML 5 type attribute with default valueAndrey A.I. Sitnik2012-04-052-50/+50
|
* Add *_url helpers to get the full assets URLPrem Sichanugrist2012-02-042-0/+14
| | | | | | | 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.
* Merge pull request #3724 from marcandre/media_defaultYehuda Katz2011-11-221-0/+3
|\ | | | | stylesheet_tag default's media is "screen"
| * Make explicit the default media when calling stylesheet_tag and change the ↵Marc-Andre Lafortune2011-11-221-0/+3
| | | | | | | | default generators.
* | Fix javascript_include_tag examples in documentationAlexey Vakhov2011-11-031-2/+2
|/
* 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-144-6/+6
| | | | completely avoid the digest generation.
* use_sprockets is not used anymoreSantiago Pastorino2011-07-261-5/+1
|
* require 'thread' before using mutexJosé Valim2011-07-011-0/+1
|
* Added a configuration setting:Chris Eppstein2011-06-272-3/+4
| | | | | | | | | | | | | | | | | | | | | | 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-272-9/+5
| | | | | | | | | 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
* Rename AV::Helpers::AssetPaths to AV::AssetPaths to solve autoload mess.José Valim2011-06-211-2/+1
|
* fixed asset_paths when called from sprockets for relative_url_rootjacott2011-05-281-10/+1
|
* Remaining cleanup from changes to AssetTagHelpertomhuda2011-05-242-12/+4
|
* No need for a regexp here.José Valim2011-05-031-1/+2
|
* Prototype and Scriptaculous are no longer vendored, but provided by ↵Xavier Noria2011-04-301-4/+3
| | | | prototype-rails from now on, also the -j option of the application generator is removed
* Replace example hostname with "example.com".Joost Baaij2011-04-212-16/+16
| | | | | The hostname used in these comments actually exists, which is undesirable. See also RFC 2606.
* Actually add an abstract class, so it is easier to get rid of old asset ↵José Valim2011-04-191-108/+53
| | | | paths in the future.
* Let's use inheritance here, shall we?José Valim2011-04-194-12/+12
|
* Switch to asset_path and make it available in the Sprockets::Context (now ↵David Heinemeier Hansson2011-04-192-2/+2
| | | | you can do asset_path("logo.png") in a stylesheet.css.erb file and get fingerprinting)
* Remove the ability for engines to serve assets from the public directory.José Valim2011-04-151-3/+0
|
* jQuery is the new defaultXavier Noria2011-04-131-58/+70
|
* Use sprockets helpers if config.use_sprockets is setJoshua Peek2011-03-292-6/+22
|
* Remove sprockets exception from main asset helpersJoshua Peek2011-03-282-20/+0
|
* Add sprockets md5s to asset tagsJoshua Peek2011-03-222-0/+20
|
* javascript_include_tag shouldn't raise if you register an expansion key with ↵Santiago Pastorino2011-02-282-2/+2
| | | | nil value
* merges docrailsXavier Noria2011-02-181-1/+1
|\
| * Fix Typos: remove several occurences of the theNicholas Rowe2011-02-171-1/+1
| |
* | Applied changes to stylesheet_link_tag from javascript_include_tag which ↵Josh Kalderimis2011-02-132-14/+15
| | | | | | | | corrects issues with ordering and duplicates.
* | This corrects two issues with javascript_include_tag, the order at which ↵Josh Kalderimis2011-02-131-4/+23
|/ | | | | | | | they are expanded, and removing duplicates. When individual js assets are specified, they will override the order of the same asset specified in an expansion. [#5938 state:resolved]
* Allow registering javascript/stylesheet_expansions to existing symbolsSantiago Pastorino2010-12-222-4/+10
|
* 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>
* changed asset_timestamps_cache to asset_ids_cache, added an rdoc comment to ↵Josh Kalderimis2010-11-161-15/+19
| | | | the new public api, and updated the railtie
* corrected the AV railtie to use the new home for cache_asset_timestamps, and ↵Josh Kalderimis2010-11-163-74/+46
| | | | merged asset id caching and asset paths together.
* reorganised the the common asset helpers module into a class and have it ↵Josh Kalderimis2010-11-165-119/+119
| | | | 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-165-286/+40
|
* reduced duplication between the javascript and stylesheet asset tag methods, ↵Josh Kalderimis2010-11-167-256/+311
| | | | 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-165-8/+482
| | | | 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-162-0/+344
precusor before removing the duplication between the two