Recently_revised and List views fixed

The upgrade to Rails 2.1 RC1 busted the /list/ and /rencently_revised/ views.
These are now fixed.
This commit is contained in:
Jacques Distler 2008-05-23 11:04:00 -05:00
parent 4901279391
commit fd554cce90

View file

@ -64,9 +64,9 @@ module ApplicationHelper
else else
"<div id=\"categories\">\n" + "<div id=\"categories\">\n" +
'<strong>Categories</strong>:' + '<strong>Categories</strong>:' +
'[' + 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| @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" + }.join(', ') + "\n" +
'</div>' '</div>'
end end