Skip to content

Commit 8f64144

Browse files
committed
chore: conform to linter
1 parent 5d7ed4d commit 8f64144

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/controllers/members/payments_controller.rb

+3-3
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ def pay_activities
5656

5757
# Check if it's a valid URI and matches your whitelist of acceptable domains (e.g., only http(s)://example.com)
5858
if url.is_a?(URI::HTTP) && [
59-
'www.mollie.com', # staging
60-
'pay.ideal.nl', # production
61-
].include?(url.host)
59+
'www.mollie.com', # staging
60+
'pay.ideal.nl' # production
61+
].include?(url.host)
6262
redirect_to(url.to_s)
6363
else
6464
# Fallback to a safe default redirect if the URI is invalid or not in the whitelist

0 commit comments

Comments
 (0)