Skip to content

Commit

Permalink
fixed comfy_route for ruby3 separation of positional and keyword argu…
Browse files Browse the repository at this point in the history
…ments
  • Loading branch information
uzian committed Jun 6, 2021
1 parent 8f7e425 commit 8f82fd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/comfortable_mexican_sofa/routing.rb
Expand Up @@ -6,7 +6,7 @@
class ActionDispatch::Routing::Mapper

def comfy_route(identifier, options = {})
send("comfy_route_#{identifier}", options)
send("comfy_route_#{identifier}", **options)
end

end

0 comments on commit 8f82fd1

Please sign in to comment.