Skip to content

Commit

Permalink
An initializer that will ensure that four admin sets, owned by our fa…
Browse files Browse the repository at this point in the history
…ke uberadmin user, will exist every time you boot the application
  • Loading branch information
bess committed May 4, 2017
1 parent 239a675 commit 5646d4a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions config/initializers/laevigata.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
require 'workflow_setup'
Rails.application.config.after_initialize do
w = WorkflowSetup.new
w.make_mediated_deposit_admin_set("School One")
w.make_mediated_deposit_admin_set("School Two")
w.make_mediated_deposit_admin_set("School Three")
w.make_mediated_deposit_admin_set("School Four")
end

0 comments on commit 5646d4a

Please sign in to comment.