From: Matt Amos Date: Fri, 2 Oct 2009 10:46:19 +0000 (+0000) Subject: Fix wrong comment. X-Git-Tag: live~6617^2~4 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/1009788043a397f207d094028a3bcb56fe98c7dc Fix wrong comment. --- 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')