diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2011-09-13 00:27:29 -0700 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2011-09-13 00:27:29 -0700 |
commit | 5bad79d93011faae839a57edaa20195398ab5764 (patch) | |
tree | 476068818e2f22bf335fb5354068c8f0d450126b /actionpack/lib/action_view/asset_paths.rb | |
parent | f1c3903f5c5ad7014355d92fb8572e324aac5296 (diff) | |
download | rails-5bad79d93011faae839a57edaa20195398ab5764.tar.gz rails-5bad79d93011faae839a57edaa20195398ab5764.tar.bz2 rails-5bad79d93011faae839a57edaa20195398ab5764.zip |
always rewrite_relative_url_root
Diffstat (limited to 'actionpack/lib/action_view/asset_paths.rb')
-rw-r--r-- | actionpack/lib/action_view/asset_paths.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/asset_paths.rb b/actionpack/lib/action_view/asset_paths.rb index 1d968fc798..9c1c821f8f 100644 --- a/actionpack/lib/action_view/asset_paths.rb +++ b/actionpack/lib/action_view/asset_paths.rb @@ -27,7 +27,7 @@ module ActionView source = rewrite_extension(source, dir, ext) if ext source = rewrite_asset_path(source, dir) - source = rewrite_relative_url_root(source, relative_url_root) if has_request? + source = rewrite_relative_url_root(source, relative_url_root) source = rewrite_host_and_protocol(source, protocol) if include_host source end |