Permalink
Browse files

Do a single string interpolation.

  • Loading branch information...
1 parent e1bccc5 commit 70357666bc86629c8d10501209105b144855ddbc @thedarkone thedarkone committed Sep 25, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_view/helpers/asset_tag_helper.rb
@@ -813,7 +813,7 @@ def rewrite_asset_path(source, path = nil)
if asset_id.empty?
source
else
- source + "?#{asset_id}"
+ "#{source}?#{asset_id}"
end
end

0 comments on commit 7035766

Please sign in to comment.