X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/35785067979a410f2a3f78927d50869ee398f349..f3bf0c8b14270f67e6ec860e58937f8d3c5887a1:/app/controllers/changeset_controller.rb diff --git a/app/controllers/changeset_controller.rb b/app/controllers/changeset_controller.rb index 8c20ddb4d..d7f3d39c8 100644 --- a/app/controllers/changeset_controller.rb +++ b/app/controllers/changeset_controller.rb @@ -265,7 +265,7 @@ class ChangesetController < ApplicationController else conditions = cond_merge conditions, ['false'] end - elsif params[:format] == 'rhtml' + 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