| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
default generators.
|
| |
|
|
|
|
| |
completely avoid the digest generation.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
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)
|
| |
|
| |
|
| |
|
|
|
|
| |
nil value
|
| |
|
|
|
|
| |
include the id caching module, this class is now shared from the view instance to the asset include tag helpers (js and css)
|
| |
|
|
|
|
| |
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
|
|
|
|
| |
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
|
|
precusor before removing the duplication between the two
|