Sha256: 59215aaf7bb7903585d7a8f7ab498afda5f8f85c62cc3e1b981798a29ab25b92

Contents?: true

Size: 431 Bytes

Versions: 2

Compression:

Stored size: 431 Bytes

Contents

module Ecm
  module Staff
    module Backend
      class OrganisationsController < Itsf::Backend::Resource::BaseController
        include ResourcesController::FriendlyIdConcern

        def self.resource_class
          Ecm::Staff::Organisation
        end

        private

        def permitted_params
          params.require(:organisation).permit(:name, :description, :markup_language)
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ecm_staff2_backend-1.0.1 app/controllers/ecm/staff/backend/organisations_controller.rb
ecm_staff2_backend-1.0.0 app/controllers/ecm/staff/backend/organisations_controller.rb