Class: Trestle::Admin::Controller
Class Attribute Summary collapse
Class Method Summary
collapse
Instance Method Summary
collapse
#set_trestle_location_header
Class Attribute Details
.admin ⇒ Object
Returns the value of attribute admin.
8
9
10
|
# File 'lib/trestle/admin/controller.rb', line 8
def admin
@admin
end
|
Class Method Details
.controller_path ⇒ Object
10
11
12
|
# File 'lib/trestle/admin/controller.rb', line 10
def controller_path
admin ? admin.controller_path : super
end
|
Instance Method Details
#admin ⇒ Object
15
16
17
|
# File 'lib/trestle/admin/controller.rb', line 15
def admin
@_admin ||= self.class.admin.new(self)
end
|
#index ⇒ Object
4
5
|
# File 'lib/trestle/admin/controller.rb', line 4
def index
end
|