Sha256: 06c491a99488c75edc3ebb0ece4289d929dab15e9dc487a7827e330eedf3c4a9

Contents?: true

Size: 321 Bytes

Versions: 4

Compression:

Stored size: 321 Bytes

Contents

module Ecm
  module Staff
    module Backend
      class PeopleController < Itsf::Backend::Resource::BaseController
        def self.resource_class
          Ecm::Staff::Person
        end

        private

        def load_resource
          load_scope.friendly.find(params[:id])
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ecm_staff2_backend-0.1.1 app/controllers/ecm/staff/backend/people_controller.rb
ecm_staff2_backend-0.1.0 app/controllers/ecm/staff/backend/people_controller.rb
ecm_staff2_backend-0.0.2 app/controllers/ecm/staff/backend/people_controller.rb
ecm_staff2_backend-0.0.1 app/controllers/ecm/staff/backend/people_controller.rb