lib/crumbs/definitions.rb in crumbs-1.2.0 vs lib/crumbs/definitions.rb in crumbs-1.2.1

- old
+ new

@@ -15,10 +15,14 @@ end def find(controller, action, params) if all.has_key? controller and all[controller].has_key? action name = all[controller][action] - name.is_a?(Proc) ? name.call(params) : name + if name.is_a? Proc + name.call params + else + name + end end end end end