Skip to content

Commit

Permalink
Merge pull request #910 from curationexperts/fix/upload_limit
Browse files Browse the repository at this point in the history
Load uploader config as part of application initialization
  • Loading branch information
Thomas Johnson committed Mar 9, 2018
2 parents 123b5bd + 14c2841 commit accdcd1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/assets/javascripts/hyrax/config.js.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Hyrax.config = {
uploader: <%= Hyrax.config.uploader.to_json %>
}

0 comments on commit accdcd1

Please sign in to comment.