Skip to content
This repository was archived by the owner on Jun 14, 2019. It is now read-only.

Commit

Permalink
oops! skip_confirmation not notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
wilfriedE committed Nov 18, 2017
1 parent b33166d commit 42163f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/seeds.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

if User.all.count == 0
user = User.new(nickname: 'admin', first_name:'LearnIt', last_name: 'Admin', email:'[email protected]', password:'admin1234', password_confirmation:'admin1234')
user.skip_confirmation_notification!
user.skip_confirmation!
user.save!
user.make_moderator!
user.make_editor!
Expand Down

0 comments on commit 42163f1

Please sign in to comment.