Closed smaziano closed 5 years ago
@smaziano any news on this?
+1
Hey guys,
I dunno if this still actual, but I found something that can help you. Check if you have any other breadcrumb's gem installed and delete it. In my case it was 'breadcrumbs_on_rails'.
I suppose 'breadcrumbs' method from Gretel overridden by same method from another crumbs gem and this cause 'wrong number of arguments' error.
Hope it helps anyone who faced this problem.
Hello,
The main method used in the layouts as per exemple:
<%= breadcrumbs pretext: "You're here: " %>
isn't accepting any arguments and gives the error:
wrong number of arguments (given 1, expected 0)
If you don't pass any argument the return is empty: []Regards, Sergio Maziano