Skip to content

Commit

Permalink
DM2 #254 - Updating image file size limit to 300 MB
Browse files Browse the repository at this point in the history
  • Loading branch information
dleadbetter committed May 5, 2020
1 parent e06da38 commit f4a157a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/document.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Document < Linkable
after_create :tree_check
before_destroy :destroyer

MAX_IMAGE_SIZE = 100 # MB
MAX_IMAGE_SIZE = 300 # MB

pg_search_scope :search_for, against: %i(title search_text)

Expand Down

0 comments on commit f4a157a

Please sign in to comment.