Replaced web.name with web.address in navigation.rhtml links

This commit is contained in:
Alexey Verkhovsky 2005-03-27 14:23:09 +00:00
parent 096fc1c8af
commit a87ef98aef

View file

@ -1,7 +1,7 @@
<%
def list_item(text, link_options, description, accesskey = nil)
link_options[:controller] = 'wiki'
link_options[:web] = @web.name
link_options[:web] = @web.address
link_to_unless_current(text, link_options, :title => description, :accesskey => accesskey) {
content_tag('b', text, 'title' => description, 'accesskey' => accesskey, 'class' => 'navOn')
}