]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/changeset_controller.rb
Merge 15722:15806 from head and adjust new views to rails 2 style names.
[rails.git] / app / controllers / changeset_controller.rb
index 8c20ddb4d59fdd8662f2a62b232eafbf402c1dbf..d7f3d39c833aba270e7b13c18db3edc9d9c1452f 100644 (file)
@@ -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