From 0ed464f70b8989f8922adab086a1a96e0e108734 Mon Sep 17 00:00:00 2001 From: MoisesMachado Date: Thu, 10 Jul 2008 23:25:20 +0000 Subject: [PATCH] ActionItem546: printing the category name instead of dumping the object --- app/helpers/application_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index bf68a67..0854fd5 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -625,7 +625,7 @@ module ApplicationHelper def search_page_title(title, options={}) title = "

" + title + "

" title += "

" + _("Searched for '%s'") % options[:query] + "

" if !options[:query].blank? - title += "

" + _("In category %s") % options[:category] + "

" if !options[:category].blank? + title += "

" + _("In category %s") % options[:category].name + "

" if !options[:category].blank? title += "

" + _("within %d from %s") % [options[:distance], options[:region]] + "

" if !options[:distance].blank? && !options[:region].blank? title += "

" + _("%d results found") % options[:total_results] + "

" if !options[:total_results].blank? title -- libgit2 0.21.2