Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Add config.allow_debugging option to determine if the debug_assets query ↵ | Guillermo Iguaran | 2011-08-24 | 1 | -3/+4 | |
| | | | | | | | | param can be passed by user | |||||
* | | Merge pull request #2668 from guilleiguaran/debug-assets-media-type | Santiago Pastorino | 2011-08-24 | 1 | -2/+3 | |
|\ \ | |/ |/| | Debug assets shouldn't ignore media type for stylesheets. Closes #2625 | |||||
| * | Debug assets shouldn't ignore media type for stylesheets. Closes #2625 | Guillermo Iguaran | 2011-08-23 | 1 | -2/+3 | |
| | | ||||||
* | | remove useless rescue | Damien Mathieu | 2011-08-24 | 1 | -6/+3 | |
|/ | | | | | params is a method, defined in every controller, which always returns a hash. If it raises a NoMethodError, it means there's a bug somewhere else, which we want to know about. | |||||
* | Merge pull request #2411 from ai/debug_assets_by_config | Santiago Pastorino | 2011-08-22 | 1 | -4/+6 | |
|\ | | | | | Debug assets by config | |||||
| * | Allow to debug assets by config.assets.debug | Andrey A.I. Sitnik | 2011-08-22 | 1 | -4/+6 | |
| | | ||||||
* | | Fix Sprockets rewrite_asset_path | Guillermo Iguaran | 2011-08-22 | 1 | -1/+1 | |
| | | ||||||
* | | Refactor Sprockets::Helpers::RailsHelper#performing_caching? | Daniel Schierbeck | 2011-08-22 | 1 | -2/+7 | |
|/ | | | | | No need for them lines to get so long! Also, move that comment into the method body where it belongs! | |||||
* | Fix sprockets warnings | Joshua Peek | 2011-08-21 | 1 | -1/+12 | |
| | | | | Fixes #2598 | |||||
* | Debug assets by default in development and test environments | Guillermo Iguaran | 2011-08-18 | 1 | -2/+2 | |
| | ||||||
* | Simple fix to the NoMethodError noted in #2177. | Ben Woosley | 2011-07-23 | 1 | -0/+2 | |
| | | | Unfortunately #respond_to?(:controller) won't work as suggested, nor will respond_to?(:params), as #controller is present and #params is delegated to #controller. #delegate makes respond_to? return true regardless whether the target responds to it. | |||||
* | Move config.default_asset_host_protocol to the railtie. | José Valim | 2011-07-07 | 1 | -6/+1 | |
| | ||||||
* | Merge pull request #1925 from spohlenz/refactor-asset-paths | José Valim | 2011-07-02 | 1 | -9/+27 | |
|\ | | | | | Refactor sprockets asset paths to allow for alternate asset environments | |||||
| * | Add documentation for asset_prefix and asset_environment | Sam Pohlenz | 2011-07-03 | 1 | -0/+9 | |
| | | ||||||
| * | Refactor sprockets asset paths to allow for alternate asset environments | Sam Pohlenz | 2011-07-01 | 1 | -9/+18 | |
| | | ||||||
* | | It's autoload all the way down | Andrew White | 2011-07-01 | 1 | -1/+1 | |
| | | ||||||
* | | Revert "Add missing require for ActionView::AssetPaths" | Andrew White | 2011-07-01 | 1 | -1/+0 | |
| | | | | | | | | This reverts commit 987eb7d4236513978e3cfcd5c3c159d95d2a84c8. | |||||
* | | Add missing require for ActionView::AssetPaths | Andrew White | 2011-07-01 | 1 | -0/+1 | |
|/ | ||||||
* | Added a configuration setting: | Chris Eppstein | 2011-06-27 | 1 | -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 Eppstein | 2011-06-27 | 1 | -1/+7 | |
| | | | | Rails.application global. | |||||
* | Stylesheet link tags should use the request protocol to avoid duplicate ↵ | Chris Eppstein | 2011-06-27 | 1 | -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 Eppstein | 2011-06-27 | 1 | -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é Valim | 2011-06-21 | 1 | -1/+1 | |
| | ||||||
* | Don't use deprecated stuff. | José Valim | 2011-06-21 | 1 | -2/+1 | |
| | ||||||
* | Update asset helpers to use `config.assets.prefix` | Joshua Peek | 2011-06-07 | 1 | -2/+2 | |
| | | | Fixes #1489 | |||||
* | Allow multiple sources in Sprockets helpers | Guillermo Iguaran | 2011-06-05 | 1 | -28/+34 | |
| | ||||||
* | Remaining cleanup from changes to AssetTagHelper | tomhuda | 2011-05-24 | 1 | -0/+3 | |
| | ||||||
* | Move the last pockets of Sprockets stuff into the Sprockets directory | wycats | 2011-05-23 | 1 | -6/+15 | |
| | ||||||
* | Move javascript/css helpers into the Sprockets helper and just have them ↵ | wycats | 2011-05-23 | 1 | -0/+44 | |
| | | | | override the old behavior | |||||
* | Start moving some logic from being embedded in AV into the Rails Sprockets ↵ | wycats | 2011-05-23 | 1 | -0/+51 | |
extensions |