Class: Ecm::Staff::PeopleController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Ecm::Staff::PeopleController
- Defined in:
- app/controllers/ecm/staff/people_controller.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.resource_class ⇒ Object
3 4 5 |
# File 'app/controllers/ecm/staff/people_controller.rb', line 3 def self.resource_class Person end |
Instance Method Details
#index ⇒ Object
7 8 9 |
# File 'app/controllers/ecm/staff/people_controller.rb', line 7 def index @collection = load_collection end |
#show ⇒ Object
11 12 13 |
# File 'app/controllers/ecm/staff/people_controller.rb', line 11 def show @resource = load_resource end |