X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/7d0a281d5bc03f2a981cbe6cb055fe19760f907d..a1378a6bd4cdeca537856650e6ea7321ae6eca26:/app/controllers/user_controller.rb diff --git a/app/controllers/user_controller.rb b/app/controllers/user_controller.rb index bd0c143c0..5d113910d 100644 --- a/app/controllers/user_controller.rb +++ b/app/controllers/user_controller.rb @@ -179,7 +179,8 @@ class UserController < ApplicationController if @this_user @title = @this_user.display_name else - render :nothing => true, :status => :not_found + @not_found_user = params[:display_name] + render :action => 'no_such_user', :status => :not_found end end