app/controllers/admin/forums_controller.rb in radiant-forum-extension-1.1.2 vs app/controllers/admin/forums_controller.rb in radiant-forum-extension-1.2.1
- old
+ new
@@ -1,11 +1,10 @@
class Admin::ForumsController < Admin::ResourceController
+ helper :forum
+ paginate_models
- # # 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.'
+ :denied_message => 'You must be an administrator to edit topics.'
end