Don't pass paths to element_single_current_link helper
This commit is contained in:
parent
065e9d217f
commit
927cc9f45e
3 changed files with 5 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
|||
module BrowseHelper
|
||||
def element_single_current_link(type, object, url)
|
||||
link_to url, { :class => element_class(type, object), :title => element_title(object), :rel => (link_follow(object) if type == "node") } do
|
||||
def element_single_current_link(type, object)
|
||||
link_to object, { :class => element_class(type, object), :title => element_title(object), :rel => (link_follow(object) if type == "node") } do
|
||||
element_strikethrough object do
|
||||
printable_element_name object
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue