Class: Admin::MainController
- Inherits:
-
AdminController
- Object
- AdminController
- Admin::MainController
- Defined in:
- app/controllers/admin/main_controller.rb
Instance Method Summary collapse
- #index ⇒ Object
-
#reset ⇒ Object
this is mostly used for development purpose.
Instance Method Details
#index ⇒ Object
5 6 7 |
# File 'app/controllers/admin/main_controller.rb', line 5 def index render end |
#reset ⇒ Object
this is mostly used for development purpose
10 11 12 13 |
# File 'app/controllers/admin/main_controller.rb', line 10 def reset reset_session redirect_to root_url end |