upgrade to rails3, but grip is broken
This commit is contained in:
1 parent
9f1de1b543
commit
29ee4585b2
53 files changed
+485
-1133
No files matched your search
@@ -2,7 +2,7 @@ module AdminHelper
|
||||
|
||||
def show_parent_items_link(parent_item)
|
||||
@parent_items = @parent_item.ancestors.map{ |i| i.name }
|
||||
( @parent_items.map{ |i| link_to(i, admin_items_path(:parent_name=>i) ) } << parent_item.name ).join("/")
|
||||
( @parent_items.map{ |i| link_to(i, admin_items_path(:parent_name=>i) ) } << parent_item.name ).join("/").html_safe
|
||||
end
|
||||
|
||||
end
|
||||
@@ -1,3 +1,2 @@
|
||||
# Methods added to this helper will be available to all templates in the application.
|
||||
module ApplicationHelper
|
||||
end
|
||||
Reference in new issue
Block a user