Sha256: 7538e2d9ff674767c656f0092484924aeebaff24a2cb23470f44571971b5b4ce

Contents?: true

Size: 439 Bytes

Versions: 6

Compression:

Stored size: 439 Bytes

Contents

class Admin::LayoutsController < Admin::ResourceController
  paginate_models
  before_action :authorize_role
  only_allow_access_to :index, :show, :new, :create, :edit, :update, :remove, :destroy,
                       when: %i[designer admin],
                       denied_url: { controller: 'admin/pages', action: 'index' },
                       denied_message: 'You must have at least editor privileges to perform this action.'
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
trusty-cms-7.0.8 app/controllers/admin/layouts_controller.rb
trusty-cms-7.0.7 app/controllers/admin/layouts_controller.rb
trusty-cms-7.0.6 app/controllers/admin/layouts_controller.rb
trusty-cms-7.0.5 app/controllers/admin/layouts_controller.rb
trusty-cms-7.0.4 app/controllers/admin/layouts_controller.rb
trusty-cms-7.0.3 app/controllers/admin/layouts_controller.rb