Sha256: 41719be142e2d626b5271f8fa43b75ee589f347ad0874e96ac1a0c9a68460a3f

Contents?: true

Size: 297 Bytes

Versions: 6

Compression:

Stored size: 297 Bytes

Contents

class Ecm::Cms::Backend::PartialsController < Itsf::Backend::Resource::BaseController
  def self.resource_class
    Ecm::Cms::Partial
  end

  private

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ecm_cms2_backend-1.1.0 app/controllers/ecm/cms/backend/partials_controller.rb
ecm_cms2_backend-1.0.5 app/controllers/ecm/cms/backend/partials_controller.rb
ecm_cms2_backend-1.0.4 app/controllers/ecm/cms/backend/partials_controller.rb
ecm_cms2_backend-1.0.3 app/controllers/ecm/cms/backend/partials_controller.rb
ecm_cms2_backend-1.0.1 app/controllers/ecm/cms/backend/partials_controller.rb
ecm_cms2_backend-1.0.0 app/controllers/ecm/cms/backend/partials_controller.rb