Skip to content
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.

Commit

Permalink
Explicitly register Paperclip data URI adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
buren committed Jan 29, 2018
1 parent f3f2ef4 commit d36fa80
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/initializers/paperclip.rb
Expand Up @@ -12,3 +12,5 @@
paperclip_path = "spec/test_files/#{paper_part}"
Paperclip::Attachment.default_options[:path] = paperclip_path
end

Paperclip::DataUriAdapter.register

0 comments on commit d36fa80

Please sign in to comment.