Sha256: ea85c9a357a294965cfd80da0482de186be0cb52310af7047e3c478d9c96b752
Contents?: true
Size: 475 Bytes
Versions: 2
Compression:
Stored size: 475 Bytes
Contents
module Cmor module Cms module Backend class LayoutsController < Cmor::Core::Backend::ResourcesController::Base include Rao::ResourcesController::ActsAsPublishedConcern def self.resource_class Cmor::Cms::Layout end private def permitted_params params.require(:layout) .permit(:body, :pathname, :basename, :locale, :format, :handler, :published) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cmor_cms_backend-0.0.55.pre | app/controllers/cmor/cms/backend/layouts_controller.rb |
cmor_cms_backend-0.0.54.pre | app/controllers/cmor/cms/backend/layouts_controller.rb |