X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4ceebefefaac05e3770ad232a6bc1839637962d3..2d39ba79542c9ce1026d8f9c90fa9afd766e1e2c:/app/controllers/notes_controller.rb diff --git a/app/controllers/notes_controller.rb b/app/controllers/notes_controller.rb index 6b2a3a86b..0bca294be 100644 --- a/app/controllers/notes_controller.rb +++ b/app/controllers/notes_controller.rb @@ -27,10 +27,7 @@ class NotesController < ApplicationController render :layout => "site" else - @title = t "users.no_such_user.title" - @not_found_user = params[:display_name] - - render :template => "users/no_such_user", :status => :not_found, :layout => "site" + render_unknown_user params[:display_name] end end end