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