devise controller name fix

jamesperet 9 years ago
parent
commit
e73483890b

+ 1 - 1
app/controllers/users/confirmations_controller.rb

@@ -1,4 +1,4 @@
1
-class users::confirmationsController < Devise::confirmationsController
1
+class Users::ConfirmationsController < Devise::ConfirmationsController
2 2
   # def new
3 3
   #   super
4 4
   # end

+ 1 - 1
app/controllers/users/passwords_controller.rb

@@ -1,4 +1,4 @@
1
-class users::passwordsController < Devise::passwordsController
1
+class Users::PasswordsController < Devise::PasswordsController
2 2
   # def new
3 3
   #   super
4 4
   # end

+ 1 - 1
app/controllers/users/sessions_controller.rb

@@ -1,4 +1,4 @@
1
-class users::sessionsController < Devise::sessionsController
1
+class Users::SessionsController < Devise::SessionsController
2 2
   
3 3
   layout 'auth'
4 4
   

+ 1 - 1
app/controllers/users/unlocks_controller.rb

@@ -1,4 +1,4 @@
1
-class users::unlocksController < Devise::unlocksController
1
+class Users::UnlocksController < Devise::UnlocksController
2 2
   # def new
3 3
   #   super
4 4
   # end

+ 2 - 0
readme.md

@@ -31,6 +31,8 @@ A template for creating rails websites that includes the following:
31 31
 4. Add the heroku postgre addon:  ```heroku addons:add heroku-postgresql``` to create and configure a *postgres* database in heroku server
32 32
 5. Commit changes: ```git commit -a -m "commit message"```
33 33
 6. Push to heroku:  ```git push heroku master``` to deploy the repo
34
+7. Migrate the database: ```heroku run rake db:migrate```
35
+8. Create the initial config and admin user: ```heroku run rake bootstrap:all```
34 36
 
35 37
 ## Todo's
36 38