aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/sprockets/helpers
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge pull request #1925 from spohlenz/refactor-asset-pathsJosé Valim2011-07-021-9/+27
|\ | | | | Refactor sprockets asset paths to allow for alternate asset environments
| * Add documentation for asset_prefix and asset_environmentSam Pohlenz2011-07-031-0/+9
| |
| * Refactor sprockets asset paths to allow for alternate asset environmentsSam Pohlenz2011-07-011-9/+18
| |
* | It's autoload all the way downAndrew White2011-07-011-1/+1
| |
* | Revert "Add missing require for ActionView::AssetPaths"Andrew White2011-07-011-1/+0
| | | | | | | | This reverts commit 987eb7d4236513978e3cfcd5c3c159d95d2a84c8.
* | Add missing require for ActionView::AssetPathsAndrew White2011-07-011-0/+1
|/
* Added a configuration setting:Chris Eppstein2011-06-271-3/+3
| | | | | | | | | | | | | | | | | | | | | | 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
* Move the config bootstrapping to initialization to minimize access to the ↵Chris Eppstein2011-06-271-1/+7
| | | | Rails.application global.
* Stylesheet link tags should use the request protocol to avoid duplicate ↵Chris Eppstein2011-06-271-5/+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-7/+12
| | | | | | | | | | 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
* Require helpers so autoload is properly setup.José Valim2011-06-211-1/+1
|
* Don't use deprecated stuff.José Valim2011-06-211-2/+1
|
* Update asset helpers to use `config.assets.prefix` Joshua Peek2011-06-071-2/+2
| | | Fixes #1489
* Allow multiple sources in Sprockets helpersGuillermo Iguaran2011-06-051-28/+34
|
* Remaining cleanup from changes to AssetTagHelpertomhuda2011-05-241-0/+3
|
* Move the last pockets of Sprockets stuff into the Sprockets directorywycats2011-05-231-6/+15
|
* Move javascript/css helpers into the Sprockets helper and just have them ↵wycats2011-05-231-0/+44
| | | | override the old behavior
* Start moving some logic from being embedded in AV into the Rails Sprockets ↵wycats2011-05-231-0/+51
extensions