From 1009788043a397f207d094028a3bcb56fe98c7dc Mon Sep 17 00:00:00 2001 From: Matt Amos Date: Fri, 2 Oct 2009 10:46:19 +0000 Subject: [PATCH] Fix wrong comment. --- app/controllers/user_blocks_controller.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/controllers/user_blocks_controller.rb b/app/controllers/user_blocks_controller.rb index f6bca4bce..fd9f03c4a 100644 --- a/app/controllers/user_blocks_controller.rb +++ b/app/controllers/user_blocks_controller.rb @@ -109,8 +109,7 @@ class UserBlocksController < ApplicationController private ## # require that the user is a moderator, or fill out a helpful error message - # and return them to the login screen where they might be able to login as - # a moderator. + # and return them to the blocks index. def require_moderator unless @user.moderator? flash[:notice] = t('user_block.filter.not_a_moderator') -- 2.43.2