From 3d19ef7c2e5c0e9d95f7359a6e2a43f948278838 Mon Sep 17 00:00:00 2001 From: briri Date: Mon, 23 Sep 2024 13:43:16 -0700 Subject: [PATCH] Fix issue with mix of named and unnamed variable args --- app/controllers/roles_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/roles_controller.rb b/app/controllers/roles_controller.rb index 866794b2a5..a18c365d48 100644 --- a/app/controllers/roles_controller.rb +++ b/app/controllers/roles_controller.rb @@ -69,7 +69,7 @@ def create if @role.save if registered deliver_if(recipients: user, key: 'users.added_as_coowner') do |r| - UserMailer.sharing_notification(@role, r, inviter: current_user) + UserMailer.sharing_notification(@role, r, current_user) .deliver_now end end