Class: Ecm::Staff::PeopleController

Inherits:
ApplicationController show all
Defined in:
app/controllers/ecm/staff/people_controller.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.resource_classObject



3
4
5
# File 'app/controllers/ecm/staff/people_controller.rb', line 3

def self.resource_class
  Person
end

Instance Method Details

#indexObject



7
8
9
# File 'app/controllers/ecm/staff/people_controller.rb', line 7

def index
  @collection = load_collection
end

#showObject



11
12
13
# File 'app/controllers/ecm/staff/people_controller.rb', line 11

def show
  @resource = load_resource
end