From 8f82fd129e440ccd88e3533d39465f001630515f Mon Sep 17 00:00:00 2001 From: Lucian Lacusta Date: Sun, 6 Jun 2021 10:39:15 +0200 Subject: [PATCH] fixed comfy_route for ruby3 separation of positional and keyword arguments --- lib/comfortable_mexican_sofa/routing.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/comfortable_mexican_sofa/routing.rb b/lib/comfortable_mexican_sofa/routing.rb index 56cd62466..2f700693a 100644 --- a/lib/comfortable_mexican_sofa/routing.rb +++ b/lib/comfortable_mexican_sofa/routing.rb @@ -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