Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add font_path helper method | Santiago Pastorino | 2012-01-03 | 1 | -0/+14 |
| | |||||
* | * A `/` is required if you want to explicitly skip the assets directory. ↵ | Marc Bowes | 2011-11-28 | 1 | -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 Oezkir | 2011-07-24 | 1 | -1/+1 |
| | | | | | | English to American English(according to Weber) | ||||
* | Include TagHelper within AssetTagHelper | Sam Pohlenz | 2011-07-10 | 1 | -0/+2 |
| | |||||
* | sub suffices here | Xavier Noria | 2011-06-29 | 1 | -1/+1 |
| | |||||
* | the generated ALT attribute for images no longer contains the digest, if any | Xavier Noria | 2011-06-27 | 1 | -1/+5 |
| | |||||
* | Start moving some logic from being embedded in AV into the Rails Sprockets ↵ | wycats | 2011-05-23 | 1 | -15/+3 |
| | | | | extensions | ||||
* | Merged pull request #277 from kuinak/master. | Aaron Patterson | 2011-04-25 | 1 | -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 Petrie | 2011-04-14 | 1 | -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 Baaij | 2011-04-21 | 1 | -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é Valim | 2011-04-19 | 1 | -1/+1 |
| | | | | | | | | paths in the future. | ||||
* | | Switch to asset_path and make it available in the Sprockets::Context (now ↵ | David Heinemeier Hansson | 2011-04-19 | 1 | -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 Hansson | 2011-04-19 | 1 | -3/+15 |
|/ | | | | when its on | ||||
* | reorganised the the common asset helpers module into a class and have it ↵ | Josh Kalderimis | 2010-11-16 | 1 | -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 Kalderimis | 2010-11-16 | 1 | -2/+239 |
| | |||||
* | reduced duplication between the javascript and stylesheet asset tag methods, ↵ | Josh Kalderimis | 2010-11-16 | 1 | -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 Kalderimis | 2010-11-16 | 1 | -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 Kalderimis | 2010-11-16 | 1 | -313/+4 |
| | | | | precusor before removing the duplication between the two | ||||
* | provide better error message if path is uri [#5914 state:resolved] | Neeraj Singh | 2010-11-11 | 1 | -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 helpers | Santiago Pastorino | 2010-10-18 | 1 | -1/+2 |
| | |||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2010-10-11 | 1 | -3/+0 |
|\ | |||||
| * | Remove mention to register_javascript_include_default in documentation | Ryan Bigg | 2010-10-11 | 1 | -3/+0 |
| | | |||||
* | | Fix example that became outdated after a code change. | Andrea Campi | 2010-10-09 | 1 | -1/+1 |
|/ | | | | | | [#5770 state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Assume compute_asset_host returns reasonable values. | thedarkone | 2010-09-27 | 1 | -1/+1 |
| | |||||
* | Do a single string interpolation. | thedarkone | 2010-09-27 | 1 | -1/+1 |
| | |||||
* | Simple .empty? test will do fine here (rails_asset_id returns nice strings). | thedarkone | 2010-09-27 | 1 | -1/+1 |
| | |||||
* | Make asset extension rewriting faster. | thedarkone | 2010-09-27 | 1 | -5/+11 |
| | |||||
* | Optimize relative_url_root rewriting code. | thedarkone | 2010-09-27 | 1 | -3/+5 |
| | |||||
* | application.js should be the last file on javascript_include_tag(:all) | Santiago Pastorino | 2010-09-19 | 1 | -1/+1 |
| | |||||
* | append asset IDs to the examples of the RDoc of #javascript_include_tag, and ↵ | Xavier Noria | 2010-09-10 | 1 | -32/+32 |
| | | | | quick edit pass | ||||
* | Added ability to set asset_path for engines | Piotr Sarnacki | 2010-09-03 | 1 | -0/+3 |
| | |||||
* | Tidy up asset tag a bit and make railties tests green again. | José Valim | 2010-06-23 | 1 | -24/+14 |
| | |||||
* | refactored the javascript asset tag helpers and moved the default scripts ↵ | Josh Kalderimis | 2010-06-23 | 1 | -14/+5 |
| | | | | | | setup within the railtie Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | removed 'unless const_defined?' code smell | Josh Kalderimis | 2010-06-21 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Adds title and description where needed. | Rizwan Reza | 2010-06-16 | 1 | -0/+1 |
| | |||||
* | Updating image_tag to support cid:content_id "URLs" | Mikel Lindsaar | 2010-06-07 | 1 | -2/+5 |
| | |||||
* | fix documentation typo | Marius Nuennerich | 2010-05-18 | 1 | -2/+2 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Accept :alt => nil on image_tag [#4558 state:resolved] | Marc-Andre Lafortune | 2010-05-15 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Fix a typo in the documentation. [#4318 state:resolved] | Craig R Webster | 2010-04-12 | 1 | -1/+1 |
| | | | Signed-off-by: wycats <wycats@gmail.com> | ||||
* | image_path -> path_to_image in a couple of places, plus motivation for ↵ | Xavier Noria | 2010-04-09 | 1 | -10/+13 |
| | | | | path_to_image in rdoc | ||||
* | adds #favicon_link_tag back, rdoc explains why it is useful, and how to get ↵ | Xavier Noria | 2010-04-08 | 1 | -0/+34 |
| | | | | a link for Mobile Safari with it | ||||
* | Revert "adds #favicon_link_tag and #apple_touch_icon_link_tag" -- these tags ↵ | David Heinemeier Hansson | 2010-04-08 | 1 | -44/+0 |
| | | | | | | are too specific. This reverts commit 6891f46d10957f21f200fc4dc2b6076ff411b1da, ec8610cfdc32d0fe816fb22405e00ef1b6c90d73, and d18ff1b7efd96e7c08bc1a15137735be45f87e07. | ||||
* | adds a default source to #apple_touch_icon_link_tag | Xavier Noria | 2010-04-07 | 1 | -6/+12 |
| | |||||
* | new helpers #favicon_link_tag and #apple_touch_icon_link_tag | Xavier Noria | 2010-04-07 | 1 | -0/+38 |
| | |||||
* | Updated asset_template_path to asset_path and have it also support a String ↵ | wycats | 2010-03-28 | 1 | -10/+11 |
| | | | | [#4247 state:resolved] | ||||
* | Allow customisation of asset path generation using a proc. | Craig R Webster | 2010-03-28 | 1 | -2/+66 |
| | | | | | | | | | | | | | | | | Set config.action_controller.asset_path_template to a proc that takes one argument - the direct, unchanged asset path - and returns a path to that asset using the scheme that your assets require. This is useful if you have a setup which scales by introducing new application servers where the mtime of the asset files may not be the same as those of the asset files on your previous servers, but it does require your web servers to have knowledge of the asset template paths that you rewrite to so it's not suitable for out-of-the-box use. An example of configuring asset path generation and rewriting these paths using Apache is included in actionpack/lib/action_view/helpers/asset_tag_helper.rb. Signed-off-by: wycats <wycats@gmail.com> | ||||
* | Merge branch 'master' into docrails | wycats | 2010-03-26 | 1 | -26/+23 |
|\ | |||||
| * | cleans a bit #compute_public_path | Xavier Noria | 2010-03-19 | 1 | -26/+23 |
| | | | | | | | | | | | | [#4232 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | | Updated ActionController::Base.asset_host example | retr0h | 2010-03-25 | 1 | -2/+2 |
|/ | | | | | | | | The example provided contrived. It is not useful when wanting to use 1-based asset hosts (since it would generate a random asset host for the same asset). Signed-off-by: Rizwan Reza <rizwanreza@gmail.com> | ||||
* | Made asset_tag_helper use config.perform_caching instead of ↵ | Denis Odorcic | 2010-03-12 | 1 | -14/+14 |
| | | | | | | ActionController::Base.perform_caching Signed-off-by: José Valim <jose.valim@gmail.com> |