Fix some more rubocop style issues

This commit is contained in:
Tom Hughes 2015-02-20 20:01:27 +00:00
parent 4f4180e4bd
commit 8e404f3a46
9 changed files with 43 additions and 50 deletions

View file

@ -5,7 +5,7 @@ module Paperclip
def for(style_name, options)
url = super(style_name, options)
if url =~ /^\/assets\/(.*)$/
if url =~ %r{^/assets/(.*)$}
asset_path($1)
else
url