Skip to content

Commit

Permalink
Merge branch 'jezstephens-fix-digest-regex'
Browse files Browse the repository at this point in the history
Closes #74
  • Loading branch information
fphilipe committed Jun 23, 2013
2 parents 3ad40ef + df91303 commit 0b48bf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/premailer/rails/css_loaders.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def assets_enabled?

def file_name(path)
path.sub("#{::Rails.configuration.assets.prefix}/", '') \
.sub(/-.*\.css$/, '.css')
.sub(/-\h{32}\.css$/, '.css')
end

def request_and_unzip(file)
Expand Down

0 comments on commit 0b48bf0

Please sign in to comment.