README.md in trestle-auth-0.2.1 vs README.md in trestle-auth-0.2.2
- old
+ new
@@ -19,10 +19,10 @@
$ rake db:migrate
Then create an initial admin user from the rails console:
$ rails console
- > User.create(email: "admin@example.com", password: "password", first_name: "Admin", last_name: "User")
+ > Administrator.create(email: "admin@example.com", password: "password", first_name: "Admin", last_name: "User")
After restarting your Rails server, any attempt to access a page within your admin will redirect you to the login page.
## License