Better
Use :only_path => true
This commit is contained in:
parent
a57152d743
commit
dafe67046a
3 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue