Commit 021594280faafc1422b31f2bf85646b8812e2197
1 parent
be2e60f8
Exists in
master
and in
29 other branches
ActionItem305: workaround for importing users
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/models/thumbnail.rb
1 | class Thumbnail < ActiveRecord::Base | 1 | class Thumbnail < ActiveRecord::Base |
2 | has_attachment :storage => :file_system, | 2 | has_attachment :storage => :file_system, |
3 | - :content_type => :image | 3 | + :content_type => :image, :max_size => 5.megabytes |
4 | validates_as_attachment | 4 | validates_as_attachment |
5 | end | 5 | end |