| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
override the old behavior
|
|
|
|
| |
extensions
|
| |
|
|\
| |
| |
| |
| |
| | |
Conflicts:
actionpack/actionpack.gemspec
activemodel/activemodel.gemspec
|
| | |
|
|/
|
|
|
|
|
|
| |
Sprocket was trying to look for these two things:
* `Rails::VERSION::STRING`
* `.initializer(str)` in `Rails::Engine`
This commit added require to version.rb into Abstract Unit, and mocking the `Rails::Engine.initializer` in `sprockets_helper_test.rb`
|
|
|
|
|
| |
The hostname used in these comments actually exists, which is
undesirable. See also RFC 2606.
|
| |
|
|
|
|
| |
you can do asset_path("logo.png") in a stylesheet.css.erb file and get fingerprinting)
|
|
|
|
| |
when its on
|
| |
|
|
|