Use :only_path => true
This commit is contained in:
Jacques Distler 2010-05-27 01:17:24 -05:00
parent a57152d743
commit dafe67046a
3 changed files with 4 additions and 4 deletions

View file

@ -33,6 +33,6 @@ def initialize(match_data, content)
# TODO move presentation of page metadata to controller/view
def url(category)
%{<a class="category_link" href="#{@content.url_generator.url_for :web => @content.web.address,
:action => 'list'}/#{CGI.escape(category)}">#{category}</a>}
:action => 'list', :only_path => true}/#{CGI.escape(category)}">#{category}</a>}
end
end