Fixed some minor bugs and add tests to spot them
This commit is contained in:
parent
c3bf919e3e
commit
abf3358ce5
5 changed files with 85 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue