]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/changeset_controller.rb
Use one "no_such_user" view everywhere
[rails.git] / app / controllers / changeset_controller.rb
index cfe86de51fd462842e075353c8044f6027205dbb..2e6258ea8b2b25195fce22cae6956f82bddb2113 100644 (file)
@@ -260,9 +260,7 @@ class ChangesetController < ApplicationController
             changesets = changesets.where("false")
           end
         elsif request.format == :html
-          @title = t 'user.no_such_user.title'
-          @not_found_user = params[:display_name]
-          render :template => 'user/no_such_user', :status => :not_found
+          render_unknown_user params[:display_name]
           return
         end
       end