aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/asset_tag_helper.rb
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-02-091-1/+1
|\ | | | | | | | | Conflicts: activerecord/lib/active_record/relation/query_methods.rb
| * Stop referring to Atom as "ATOM"Tom Stuart2012-02-051-1/+1
| | | | | | | | | | | | $ curl -s http://www.ietf.org/rfc/rfc4287 | grep -io ATOM | sort | uniq -c 582 atom 175 Atom
* | Always use content_tag for audio/video tagRafael Mendonça França2012-02-071-1/+1
| | | | | | | | Closes #4919
* | Add *_url helpers to get the full assets URLPrem Sichanugrist2012-02-041-0/+32
|/ | | | | | | 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.
* Remove slash from favicon_link_tag method attributeLucas Caton2012-01-311-2/+2
|
* reuse common video/audio tags code and do not modify optionsSergey Nartimov2012-01-261-25/+21
|
* do not modify options in image_tagSergey Nartimov2012-01-261-2/+2
|
* allow to pass multiple sources to audio/video tags without using arraySergey Nartimov2012-01-251-12/+20
|
* Make audio_tag able to receive multiple sourcesJanko Marohnić2012-01-251-3/+10
|
* Make path_to_video in video_tag apply to each sourceJanko Marohnić2012-01-251-1/+1
|
* Add font_path helper methodSantiago Pastorino2012-01-031-0/+14
|
* * A `/` is required if you want to explicitly skip the assets directory. ↵Marc Bowes2011-11-281-7/+3
| | | | | This is important because `public/assets` is typically git-ignored. * The asset id is no longer generated.
* Changed a few instances of of words in the API docs written in British ↵Oemuer Oezkir2011-07-241-1/+1
| | | | | | English to American English(according to Weber)
* Include TagHelper within AssetTagHelperSam Pohlenz2011-07-101-0/+2
|
* sub suffices hereXavier Noria2011-06-291-1/+1
|
* the generated ALT attribute for images no longer contains the digest, if anyXavier Noria2011-06-271-1/+5
|
* Start moving some logic from being embedded in AV into the Rails Sprockets ↵wycats2011-05-231-15/+3
| | | | extensions
* Merged pull request #277 from kuinak/master.Aaron Patterson2011-04-251-1/+1
|\ | | | | Correct documentation for asset host strategy for 1.9.2
| * ruby 1.9.2 and other ruby implementations may not return the same hash value ↵Evan Petrie2011-04-141-1/+1
| | | | | | | | for the same string each time. This can result in your static assets being served from different asset hosts, which makes browser caching less effective. Use md5 or some other digest method instead.
* | Replace example hostname with "example.com".Joost Baaij2011-04-211-3/+3
| | | | | | | | | | 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-1/+1
| | | | | | | | paths in the future.
* | Switch to asset_path and make it available in the Sprockets::Context (now ↵David Heinemeier Hansson2011-04-191-3/+3
| | | | | | | | you can do asset_path("logo.png") in a stylesheet.css.erb file and get fingerprinting)
* | All assets, including images, audio, and video, now uses the asset pipeline ↵David Heinemeier Hansson2011-04-191-3/+15
|/ | | | when its on
* reorganised the the common asset helpers module into a class and have it ↵Josh Kalderimis2010-11-161-6/+9
| | | | 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-2/+239
|
* reduced duplication between the javascript and stylesheet asset tag methods, ↵Josh Kalderimis2010-11-161-8/+1
| | | | 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-405/+4
| | | | 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-313/+4
| | | | precusor before removing the duplication between the two
* provide better error message if path is uri [#5914 state:resolved]Neeraj Singh2010-11-111-3/+5
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Call html_escape in ERB::Util module and don't mix it in in the helpersSantiago Pastorino2010-10-181-1/+2
|
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2010-10-111-3/+0
|\
| * Remove mention to register_javascript_include_default in documentationRyan Bigg2010-10-111-3/+0
| |
* | Fix example that became outdated after a code change.Andrea Campi2010-10-091-1/+1
|/ | | | | | [#5770 state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Assume compute_asset_host returns reasonable values.thedarkone2010-09-271-1/+1
|
* Do a single string interpolation.thedarkone2010-09-271-1/+1
|
* Simple .empty? test will do fine here (rails_asset_id returns nice strings).thedarkone2010-09-271-1/+1
|
* Make asset extension rewriting faster.thedarkone2010-09-271-5/+11
|
* Optimize relative_url_root rewriting code.thedarkone2010-09-271-3/+5
|
* application.js should be the last file on javascript_include_tag(:all)Santiago Pastorino2010-09-191-1/+1
|
* append asset IDs to the examples of the RDoc of #javascript_include_tag, and ↵Xavier Noria2010-09-101-32/+32
| | | | quick edit pass
* Added ability to set asset_path for enginesPiotr Sarnacki2010-09-031-0/+3
|
* Tidy up asset tag a bit and make railties tests green again.José Valim2010-06-231-24/+14
|
* refactored the javascript asset tag helpers and moved the default scripts ↵Josh Kalderimis2010-06-231-14/+5
| | | | | | setup within the railtie Signed-off-by: José Valim <jose.valim@gmail.com>
* removed 'unless const_defined?' code smellJosh Kalderimis2010-06-211-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Adds title and description where needed.Rizwan Reza2010-06-161-0/+1
|
* Updating image_tag to support cid:content_id "URLs"Mikel Lindsaar2010-06-071-2/+5
|
* fix documentation typoMarius Nuennerich2010-05-181-2/+2
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Accept :alt => nil on image_tag [#4558 state:resolved]Marc-Andre Lafortune2010-05-151-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Fix a typo in the documentation. [#4318 state:resolved]Craig R Webster2010-04-121-1/+1
| | | Signed-off-by: wycats <wycats@gmail.com>
* image_path -> path_to_image in a couple of places, plus motivation for ↵Xavier Noria2010-04-091-10/+13
| | | | path_to_image in rdoc