lib/gambiarra/history.rb in gambiarra-0.0.4 vs lib/gambiarra/history.rb in gambiarra-0.0.5

- old
+ new

@@ -20,15 +20,15 @@ def back routes.pop.respond end - def refresh(params={}) + def refresh(**params) return { content: 'Abnormal end', path: 'exit' } unless current_route - current_route.respond(params) + current_route.respond(**params) end end end