diff app/helpers/search_helper.rb @ 41:7f0e922c8982 luisf

merged with new version from trunk
author luisf
date Fri, 19 Nov 2010 14:45:28 +0000
parents 94944d00e43c
children 0c939c159af4
line wrap: on
line diff
--- a/app/helpers/search_helper.rb	Thu Nov 18 17:50:11 2010 +0000
+++ b/app/helpers/search_helper.rb	Fri Nov 19 14:45:28 2010 +0000
@@ -39,7 +39,7 @@
   end
   
   def type_label(t)
-    l("label_#{t.singularize}_plural")
+    l("label_#{t.singularize}_plural", :default => t.to_s.humanize)
   end
   
   def project_select_tag