Sha256: 38fd71807a412fb924cf40b7101b5f68d9c33dab63cd28a6f75106ee88882ba5

Contents?: true

Size: 289 Bytes

Versions: 5

Compression:

Stored size: 289 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(:partial)
          .permit(:body, :pathname, :basename, :locale, :format, :handler)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ecm_cms2_backend-1.3.0 app/controllers/ecm/cms/backend/partials_controller.rb
ecm_cms2_backend-1.2.3 app/controllers/ecm/cms/backend/partials_controller.rb
ecm_cms2_backend-1.2.2 app/controllers/ecm/cms/backend/partials_controller.rb
ecm_cms2_backend-1.2.1 app/controllers/ecm/cms/backend/partials_controller.rb
ecm_cms2_backend-1.2.0 app/controllers/ecm/cms/backend/partials_controller.rb