Sha256: d4588ef86c719237236d41359df7503368021e67ac2815817d1a64b48234b804

Contents?: true

Size: 349 Bytes

Versions: 5

Compression:

Stored size: 349 Bytes

Contents

class Ecm::Cms::Backend::PagesController < Itsf::Backend::Resource::BaseController
  def self.resource_class
    Ecm::Cms::Page
  end

  private

  def permitted_params
    params.require(:page)
          .permit(:title, :meta_description, :body, :pathname, :basename, :locale, :format, :handler, :layout, ecm_cms_navigation_item_ids: [])
  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/pages_controller.rb
ecm_cms2_backend-1.2.3 app/controllers/ecm/cms/backend/pages_controller.rb
ecm_cms2_backend-1.2.2 app/controllers/ecm/cms/backend/pages_controller.rb
ecm_cms2_backend-1.2.1 app/controllers/ecm/cms/backend/pages_controller.rb
ecm_cms2_backend-1.2.0 app/controllers/ecm/cms/backend/pages_controller.rb