aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view
diff options
context:
space:
mode:
authorthedarkone <thedarkone2@gmail.com>2010-09-25 16:42:35 +0200
committerthedarkone <thedarkone2@gmail.com>2010-09-27 17:45:59 +0200
commit70357666bc86629c8d10501209105b144855ddbc (patch)
tree55dd6bef48f030ca236c1faaac66997be789b68c /actionpack/lib/action_view
parente1bccc5169ba18238aa0bde720384efc74c533b0 (diff)
downloadrails-70357666bc86629c8d10501209105b144855ddbc.tar.gz
rails-70357666bc86629c8d10501209105b144855ddbc.tar.bz2
rails-70357666bc86629c8d10501209105b144855ddbc.zip
Do a single string interpolation.
Diffstat (limited to 'actionpack/lib/action_view')
-rw-r--r--actionpack/lib/action_view/helpers/asset_tag_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/asset_tag_helper.rb b/actionpack/lib/action_view/helpers/asset_tag_helper.rb
index 59d1c8b7eb..efd238c692 100644
--- a/actionpack/lib/action_view/helpers/asset_tag_helper.rb
+++ b/actionpack/lib/action_view/helpers/asset_tag_helper.rb
@@ -813,7 +813,7 @@ module ActionView
if asset_id.empty?
source
else
- source + "?#{asset_id}"
+ "#{source}?#{asset_id}"
end
end