Fixed some minor bugs and add tests to spot them

This commit is contained in:
Kai Krueger 2010-03-27 11:45:36 +00:00
parent c3bf919e3e
commit abf3358ce5
5 changed files with 85 additions and 2 deletions

View file

@ -214,10 +214,11 @@ class MapBugsController < ApplicationController
else
conditions = ['false']
end
elsif request.format == :html
else #if 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
return
end
end