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