Sha256: f0958804e9fddb5b84a955e6f119406790ed50055fc4e189b06ca1ce2924d5e2

Contents?: true

Size: 292 Bytes

Versions: 3

Compression:

Stored size: 292 Bytes

Contents

class Ecm::Cms::Backend::TemplatesController < Itsf::Backend::Resource::BaseController
  def self.resource_class
    Ecm::Cms::Template
  end

  private

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ecm_cms2_backend-1.3.0 app/controllers/ecm/cms/backend/templates_controller.rb
ecm_cms2_backend-1.2.3 app/controllers/ecm/cms/backend/templates_controller.rb
ecm_cms2_backend-1.2.2 app/controllers/ecm/cms/backend/templates_controller.rb