From fd554cce9037d99598505b7857ae44a2eb7885d8 Mon Sep 17 00:00:00 2001 From: Jacques Distler Date: Fri, 23 May 2008 11:04:00 -0500 Subject: [PATCH] Recently_revised and List views fixed The upgrade to Rails 2.1 RC1 busted the /list/ and /rencently_revised/ views. These are now fixed. --- app/helpers/application_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 18e144dc..9553504e 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -64,9 +64,9 @@ module ApplicationHelper else "
\n" + 'Categories:' + - '[' + link_to_unless_current('Any', :web => @web.address, :action => @action_name, :category => nil) + "]\n" + + '[' + link_to_unless_current('Any', :web => @web.address, :action => self.action_name, :category => nil) + "]\n" + @categories.map { |c| - link_to_unless_current(c, :web => @web.address, :action => @action_name, :category => c) + link_to_unless_current(c, :web => @web.address, :action => self.action_name, :category => c) }.join(', ') + "\n" + '
' end