Sha256: cefe3b7f65bc25980d638c6fd57fc016021e617bcf78163e4de3b4b64f82f05f

Contents?: true

Size: 462 Bytes

Versions: 5

Compression:

Stored size: 462 Bytes

Contents

class Admin::ForumsController < Admin::ResourceController

  # # I have no idea where this default is being overridden
  # skip_before_filter :verify_authenticity_token if ENV["RAILS_ENV"] == "test"

  only_allow_access_to :new, :create, :edit, :update, :remove, :destroy,
    :when => :admin,
    :denied_url => { :controller => 'pages', :action => 'index' },
    :denied_message => 'You must be an administrator to add or change discussion categories.'
  
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
radiant-forum-extension-1.1.2 app/controllers/admin/forums_controller.rb
radiant-forum-extension-1.1.1 app/controllers/admin/forums_controller.rb
radiant-forum-extension-1.1.0 app/controllers/admin/forums_controller.rb
radiant-forum-extension-0.6.1 app/controllers/admin/forums_controller.rb
radiant-forum-extension-0.6.0 app/controllers/admin/forums_controller.rb