Skip to content

Commit

Permalink
Allow PDF uploads
Browse files Browse the repository at this point in the history
  • Loading branch information
Jay Zeschin committed Jan 28, 2014
1 parent e7d3e88 commit c7b7e25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/uploaders/image_attachment_uploader.rb
Expand Up @@ -41,7 +41,7 @@ def store_geometry
# Add a white list of extensions which are allowed to be uploaded.
# For images you might use something like this:
def extension_white_list
%w(jpg jpeg gif png)
%w(jpg jpeg gif png pdf)
end

# Override the filename of the uploaded files:
Expand Down

0 comments on commit c7b7e25

Please sign in to comment.