diff --git a/app/controllers/forums_controller.rb b/app/controllers/forums_controller.rb index 042623d..61cd0d9 100644 --- a/app/controllers/forums_controller.rb +++ b/app/controllers/forums_controller.rb @@ -1,5 +1,5 @@ class ForumsController < ApplicationController - before_filter :check_permission, only: [:show, :edit, :update] + before_filter :check_permission, only: [:show, :edit, :update, :destroy] def index @groups = Forumgroup.select {|g| g.can_read?(current_user) }