Sha256: 29f0d71e98995be386073e367f6147541e909181b247bb3a7814b08e297883e5

Contents?: true

Size: 440 Bytes

Versions: 4

Compression:

Stored size: 440 Bytes

Contents

module Cmor::Showcase
  class CategoriesController < Cmor::Core::Backend::ResourcesController::Base
    include Rao::ResourcesController::ActsAsListConcern
    include Rao::ResourcesController::ActsAsPublishedConcern
    
    def self.resource_class
      Cmor::Showcase::Category
    end

    private

    def permitted_params
      params.require(:category).permit(:locale, :identifier, :name, :body, :published, :image)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cmor_showcase-0.0.36.pre app/controllers/cmor/showcase/categories_controller.rb
cmor_showcase-0.0.35.pre app/controllers/cmor/showcase/categories_controller.rb
cmor_showcase-0.0.34.pre app/controllers/cmor/showcase/categories_controller.rb
cmor_showcase-0.0.33.pre app/controllers/cmor/showcase/categories_controller.rb