Class: Trestle::AdminController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Trestle::AdminController
- Defined in:
- app/controllers/trestle/admin_controller.rb
Direct Known Subclasses
Class Attribute Summary collapse
-
.admin ⇒ Object
readonly
Returns the value of attribute admin.
Instance Method Summary collapse
Methods included from Controller::Location
#set_trestle_location_header, #visit_location_with_turbolinks
Class Attribute Details
.admin ⇒ Object (readonly)
Returns the value of attribute admin.
7 8 9 |
# File 'app/controllers/trestle/admin_controller.rb', line 7 def admin @admin end |
Instance Method Details
#admin ⇒ Object
16 17 18 |
# File 'app/controllers/trestle/admin_controller.rb', line 16 def admin @_admin ||= self.class.admin.new(self) end |
#index ⇒ Object
3 4 |
# File 'app/controllers/trestle/admin_controller.rb', line 3 def index end |