From 1f2c66300ace823c299af75fbcfa1e5d0ae04815 Mon Sep 17 00:00:00 2001 From: songtianlun Date: Wed, 8 Jan 2025 13:59:25 +0800 Subject: [PATCH] style: format email link for consistency - Adjust spacing in the email parameter of the link_to helper - Ensure consistent formatting in the account activation email This change improves the readability of the code by ensuring consistent spacing in the parameters, which can help prevent errors in future modifications. --- app/views/user_mailer/account_activation.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/user_mailer/account_activation.html.erb b/app/views/user_mailer/account_activation.html.erb index e79ba94..d6e498b 100644 --- a/app/views/user_mailer/account_activation.html.erb +++ b/app/views/user_mailer/account_activation.html.erb @@ -7,9 +7,9 @@

<%= link_to "Activate", edit_account_activation_url(@user.activation_token, - email:@user.email) %> + email: @user.email) %>

<%= edit_account_activation_url(@user.activation_token, - email:@user.email) %> + email: @user.email) %>

\ No newline at end of file