summaryrefslogtreecommitdiff
path: root/app/controllers/forums_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/forums_controller.rb')
-rw-r--r--app/controllers/forums_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/forums_controller.rb b/app/controllers/forums_controller.rb
index 486d21c..761a86b 100644
--- a/app/controllers/forums_controller.rb
+++ b/app/controllers/forums_controller.rb
@@ -1,4 +1,5 @@
class ForumsController < ApplicationController
+
before_filter :check_permission, only: [:show, :edit, :update, :destroy]
def index
@@ -77,7 +78,6 @@ class ForumsController < ApplicationController
redirect_to forums_path
end
-
private
def check_permission