Skip to content

Commit

Permalink
Merge 524f153 into 3b0e13d
Browse files Browse the repository at this point in the history
  • Loading branch information
takungsk committed Apr 15, 2014
2 parents 3b0e13d + 524f153 commit 54e785b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/attachment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class Attachment < ActiveRecord::Base
validates_attachment_content_type :file, :content_type=>"*" #This doesn't do anything but it is required by Paperclip 4+
else
has_attached_file :file
do_not_validate_attachment_file_type :file
end

attr_accessible :file
Expand Down

0 comments on commit 54e785b

Please sign in to comment.