summaryrefslogtreecommitdiff
path: root/app/controllers/forumgroups_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/forumgroups_controller.rb')
-rw-r--r--app/controllers/forumgroups_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/forumgroups_controller.rb b/app/controllers/forumgroups_controller.rb
index 3e53b4a..0a45ca6 100644
--- a/app/controllers/forumgroups_controller.rb
+++ b/app/controllers/forumgroups_controller.rb
@@ -9,7 +9,7 @@ class ForumgroupsController < ApplicationController
end
def edit
- if admin? && current_user.confirmed?
+ if admin?
@group = Forumgroup.find(params[:id])
else
flash[:alert] = "You are not allowed to edit forum groups."
@@ -32,7 +32,7 @@ class ForumgroupsController < ApplicationController
end
def new
- if admin? && current_user.confirmed?
+ if admin?
@group = Forumgroup.new
else
flash[:alert] = "You are not allowed to create forum groups."