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-6.3.1 app/controllers/admin/snippets_controller.rb
trusty-cms-7.0.2 app/controllers/admin/snippets_controller.rb
trusty-cms-7.0.1 app/controllers/admin/snippets_controller.rb
trusty-cms-7.0.0 app/controllers/admin/snippets_controller.rb
trusty-cms-6.3 app/controllers/admin/snippets_controller.rb
trusty-cms-6.2.1 app/controllers/admin/snippets_controller.rb
trusty-cms-6.2.2.1 app/controllers/admin/snippets_controller.rb
trusty-cms-6.2.0 app/controllers/admin/snippets_controller.rb
trusty-cms-6.1.2 app/controllers/admin/snippets_controller.rb
trusty-cms-6.1.1 app/controllers/admin/snippets_controller.rb
trusty-cms-6.0.5 app/controllers/admin/snippets_controller.rb
trusty-cms-6.0.4 app/controllers/admin/snippets_controller.rb
trusty-cms-6.0.3 app/controllers/admin/snippets_controller.rb
trusty-cms-6.0.2 app/controllers/admin/snippets_controller.rb
trusty-cms-6.0.1 app/controllers/admin/snippets_controller.rb
trusty-cms-5.6.1 app/controllers/admin/snippets_controller.rb
trusty-cms-6.0.0 app/controllers/admin/snippets_controller.rb
trusty-cms-5.6.0 app/controllers/admin/snippets_controller.rb
trusty-cms-5.5.9 app/controllers/admin/snippets_controller.rb
trusty-cms-5.5.8 app/controllers/admin/snippets_controller.rb