summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2016-05-03 10:24:11 -0300
committerAzul <azul@riseup.net>2016-05-03 10:24:11 -0300
commitfc066a42ec5a3271b0d476ff2c5ab771f1ab726d (patch)
tree814ec05f51191141b015ee327bb68474b713f600 /app/controllers
parenta7718c19ab96648e37063c05bffe21bc2c315325 (diff)
fix failing unit and functional tests
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/controller_extension/fetch_user.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/controller_extension/fetch_user.rb b/app/controllers/controller_extension/fetch_user.rb
index 97f92fa..632291d 100644
--- a/app/controllers/controller_extension/fetch_user.rb
+++ b/app/controllers/controller_extension/fetch_user.rb
@@ -22,7 +22,7 @@ module ControllerExtension::FetchUser
@user = User.find(params[:user_id] || params[:id])
if current_user.is_admin? || current_user.is_monitor?
if @user.nil?
- not_found(t(:no_such_thing, :thing => 'user'), users_url)
+ not_found(t(:no_such_user), users_url)
elsif current_user.is_monitor?
access_denied unless @user.is_test?
end