X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/59102ea017825ceafdfe603cc43f9dd45e5c0ab6..27a3dc447c20b62cf4a1cb2711d3c0cbdea54879:/app/controllers/user_blocks_controller.rb?ds=sidebyside 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')