Sha256: 81532ee7cc150cf3dca49a45b2d9cb0924a7a4dd76a20eefd5049788f8f6f8d5

Contents?: true

Size: 400 Bytes

Versions: 71

Compression:

Stored size: 400 Bytes

Contents

class Admin::LayoutsController < Admin::ResourceController
  paginate_models
  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 designer privileges to perform this action.'
end

Version data entries

71 entries across 71 versions & 1 rubygems

Version Path
trusty-cms-5.2.3 app/controllers/admin/layouts_controller.rb
trusty-cms-5.2.2 app/controllers/admin/layouts_controller.rb
trusty-cms-5.2.1 app/controllers/admin/layouts_controller.rb
trusty-cms-5.2.0 app/controllers/admin/layouts_controller.rb
trusty-cms-5.1.0 app/controllers/admin/layouts_controller.rb
trusty-cms-5.0.9 app/controllers/admin/layouts_controller.rb
trusty-cms-5.0.7 app/controllers/admin/layouts_controller.rb
trusty-cms-5.0.6 app/controllers/admin/layouts_controller.rb
trusty-cms-5.0.5 app/controllers/admin/layouts_controller.rb
trusty-cms-5.0.4 app/controllers/admin/layouts_controller.rb
trusty-cms-5.0.3 app/controllers/admin/layouts_controller.rb
trusty-cms-5.0.2 app/controllers/admin/layouts_controller.rb
trusty-cms-5.0.1 app/controllers/admin/layouts_controller.rb
trusty-cms-4.3.5 app/controllers/admin/layouts_controller.rb
trusty-cms-5.0.0 app/controllers/admin/layouts_controller.rb
trusty-cms-4.3.4 app/controllers/admin/layouts_controller.rb
trusty-cms-4.3.3 app/controllers/admin/layouts_controller.rb
trusty-cms-4.3.2 app/controllers/admin/layouts_controller.rb
trusty-cms-4.3.1 app/controllers/admin/layouts_controller.rb
trusty-cms-4.3 app/controllers/admin/layouts_controller.rb