Class: Trestle::DashboardController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Trestle::DashboardController
- Defined in:
- app/controllers/trestle/dashboard_controller.rb
Instance Method Summary collapse
Methods included from Controller::Location
Instance Method Details
#index ⇒ Object
2 3 4 5 |
# File 'app/controllers/trestle/dashboard_controller.rb', line 2 def index admin = primary_admin redirect_to admin.path if admin end |