Update Admin Actions for Ruby 3

Christopher Vollick created

In Ruby 3 hashes no longer work as keyword args like we expected, so we
have to be a bit more explicit.

Should be compatible with Ruby 2.

Change summary

lib/admin_action.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

lib/admin_action.rb 🔗

@@ -88,7 +88,7 @@ class AdminAction
 	end
 
 	def with(**kwargs)
-		self.class.new(@attributes.merge(kwargs))
+		self.class.new(**@attributes.merge(kwargs))
 	end
 
 	def id