Sha256: 1eb0be00cb9fbfb2ff9d6d78b2f252c456cb61c56ae11d8e91c74f47ca61e2f1
Contents?: true
Size: 275 Bytes
Versions: 2
Compression:
Stored size: 275 Bytes
Contents
module Ecm::Staff class PeopleController < ApplicationController def index @people = Person.includes( :person_positions => :position ).all end def show @person = Person.includes( :person_positions => :position ).find(params[:id]) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ecm_staff-0.0.2.pre | app/controllers/ecm/staff/people_controller.rb |
ecm_staff-0.0.1.pre | app/controllers/ecm/staff/people_controller.rb |