Sha256: 2753aa9d809569088382a02480c743a7da1e0138cd2d9ba6e8531212c4521c48

Contents?: true

Size: 481 Bytes

Versions: 12

Compression:

Stored size: 481 Bytes

Contents

module Cmor
  module Cms
    module Backend
      class TemplatesController < Cmor::Core::Backend::ResourcesController::Base
        include Rao::ResourcesController::ActsAsPublishedConcern

        def self.resource_class
          Cmor::Cms::Template
        end

        private

        def permitted_params
          params.require(:template)
                .permit(:body, :pathname, :basename, :locale, :format, :handler, :published)
        end
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
cmor_cms_backend-0.0.55.pre app/controllers/cmor/cms/backend/templates_controller.rb
cmor_cms_backend-0.0.54.pre app/controllers/cmor/cms/backend/templates_controller.rb
cmor_cms_backend-0.0.53.pre app/controllers/cmor/cms/backend/templates_controller.rb
cmor_cms_backend-0.0.52.pre app/controllers/cmor/cms/backend/templates_controller.rb
cmor_cms_backend-0.0.51.pre app/controllers/cmor/cms/backend/templates_controller.rb
cmor_cms_backend-0.0.50.pre app/controllers/cmor/cms/backend/templates_controller.rb
cmor_cms_backend-0.0.49.pre app/controllers/cmor/cms/backend/templates_controller.rb
cmor_cms_backend-0.0.48.pre app/controllers/cmor/cms/backend/templates_controller.rb
cmor_cms_backend-0.0.45.pre app/controllers/cmor/cms/backend/templates_controller.rb
cmor_cms_backend-0.0.44.pre app/controllers/cmor/cms/backend/templates_controller.rb
cmor_cms_backend-0.0.43.pre app/controllers/cmor/cms/backend/templates_controller.rb
cmor_cms_backend-0.0.42.pre app/controllers/cmor/cms/backend/templates_controller.rb