lib/pakyow/presenter/presenters/form.rb in pakyow-presenter-1.0.2 vs lib/pakyow/presenter/presenters/form.rb in pakyow-presenter-1.0.3
- old
+ new
@@ -255,10 +255,10 @@
}
endpoint_path << possible_endpoint_name
endpoint_path.uniq!
- app.endpoints.path_to(*endpoint_path, action, params)
+ app.endpoints.path_to(*endpoint_path, action, **params)
}.compact.first
end
def method_for_action(action)
ACTION_METHODS[action]