Sha256: 38b54693697516a7c6c3f1f35e8e863d00ce6af627f688410f34f28d1fd0d07b

Contents?: true

Size: 401 Bytes

Versions: 71

Compression:

Stored size: 401 Bytes

Contents

class Admin::SnippetsController < 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.5.7 app/controllers/admin/snippets_controller.rb
trusty-cms-5.5.6 app/controllers/admin/snippets_controller.rb
trusty-cms-5.5.5.1 app/controllers/admin/snippets_controller.rb
trusty-cms-5.5.1 app/controllers/admin/snippets_controller.rb
trusty-cms-5.5 app/controllers/admin/snippets_controller.rb
trusty-cms-5.4.4 app/controllers/admin/snippets_controller.rb
trusty-cms-5.4.3 app/controllers/admin/snippets_controller.rb
trusty-cms-5.4.2 app/controllers/admin/snippets_controller.rb
trusty-cms-5.4.1 app/controllers/admin/snippets_controller.rb
trusty-cms-5.4.0 app/controllers/admin/snippets_controller.rb
trusty-cms-5.3.9 app/controllers/admin/snippets_controller.rb
trusty-cms-5.3.8 app/controllers/admin/snippets_controller.rb
trusty-cms-5.3.7 app/controllers/admin/snippets_controller.rb
trusty-cms-5.3.6 app/controllers/admin/snippets_controller.rb
trusty-cms-5.3.5 app/controllers/admin/snippets_controller.rb
trusty-cms-5.3.4 app/controllers/admin/snippets_controller.rb
trusty-cms-5.3.3 app/controllers/admin/snippets_controller.rb
trusty-cms-5.3.2 app/controllers/admin/snippets_controller.rb
trusty-cms-5.3.1 app/controllers/admin/snippets_controller.rb
trusty-cms-5.3 app/controllers/admin/snippets_controller.rb