Replaced web.name with web.address in navigation.rhtml links
This commit is contained in:
parent
096fc1c8af
commit
a87ef98aef
|
@ -1,7 +1,7 @@
|
||||||
<%
|
<%
|
||||||
def list_item(text, link_options, description, accesskey = nil)
|
def list_item(text, link_options, description, accesskey = nil)
|
||||||
link_options[:controller] = 'wiki'
|
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) {
|
link_to_unless_current(text, link_options, :title => description, :accesskey => accesskey) {
|
||||||
content_tag('b', text, 'title' => description, 'accesskey' => accesskey, 'class' => 'navOn')
|
content_tag('b', text, 'title' => description, 'accesskey' => accesskey, 'class' => 'navOn')
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue