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