aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/asset_tag_helper.rb
Commit message (Collapse)AuthorAgeFilesLines
* Render img tag with empty src if empty string is passed to image_tag.Kirill Lashuk2012-05-181-2/+2
|
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-05-151-16/+9
|\ | | | | | | | | Conflicts: actionpack/lib/action_view/helpers/asset_tag_helper.rb
| * Removing ==Examples and last blank lines of docs from actionpackFrancesco Rodriguez2012-05-151-47/+42
| |
| * mispelling asset_tag_helperAngelo Capilleri2012-05-131-1/+1
| |
* | Remove `:mouseover` option from `image_tag` helper.Rafael Mendonça França2012-05-131-12/+0
| |
* | Merge pull request #3237 from sakuro/data-url-schemeRafael Mendonça França2012-05-131-1/+1
| | | | | | | | | | | | | | Support data: url scheme Conflicts: actionpack/lib/action_view/asset_paths.rb
* | update example outputs of some asset helpersVijay Dev2012-05-121-18/+18
|/ | | | | | | Changed /images and /fonts to /assets in the examples of image_path, image_tag and font_path helpers [ci skip]
* Revert "Merge pull request #6142 from spartan-developer/master"José Valim2012-05-121-2/+6
| | | | | This reverts commit 667d0bdd90ef6e6b691f0cc4cf5535b8da69f248, reversing changes made to 4ae6bab6bb02c9390188a49f9a749400f6a0ac94.
* Merge pull request #6142 from spartan-developer/masterJosé Valim2012-05-121-6/+2
|\ | | | | refactored extracting :size => 'XxY' into an extract_size! method
| * refactored extracting :size => 'XxY' into an extract_size! methodNicholas Yianilos2012-05-031-6/+2
| |
* | update some examples in asset tag helper docs [ci skip]Vijay Dev2012-05-091-15/+15
|/
* Comma missedAlexey Vakhov2012-04-211-1/+1
|
* Remove unnecessary in HTML 5 type attribute with default valueAndrey A.I. Sitnik2012-04-051-6/+6
|
* use `symbolize_keys` instead of `dup.symbolize_keys!`Sergey Nartimov2012-03-301-2/+2
|
* Change asset_host config language to be more helpful and accurateGabe Hollombe2012-02-281-2/+3
|
* 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
|