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 ModalHelper
#modal_dialog_attributes, #modal_options, #modal_options!, #modal_wrapper_attributes
Methods included from Controller::Location
Methods included from FlashHelper
#debug_form_errors?, #instance_has_errors?, #normalize_flash_alert
Class Attribute Details
.admin ⇒ Object (readonly)
Returns the value of attribute admin.
10 11 12 |
# File 'app/controllers/trestle/admin_controller.rb', line 10 def admin @admin end |
Instance Method Details
#admin ⇒ Object
19 20 21 |
# File 'app/controllers/trestle/admin_controller.rb', line 19 def admin @_admin ||= self.class.admin.new(self) end |
#index ⇒ Object
6 7 |
# File 'app/controllers/trestle/admin_controller.rb', line 6 def index end |