From 299e930d1a363d9e4656b81864a82e690776f085 Mon Sep 17 00:00:00 2001 From: songtianlun Date: Wed, 8 Jan 2025 14:13:45 +0800 Subject: [PATCH] style: format account activation email template - Remove unnecessary line breaks in the activation link - Clean up the formatting of the email template This commit improves the readability of the account activation email template by removing redundant line breaks and ensuring consistent formatting. No functional changes were made to the link or its behavior. --- app/views/user_mailer/account_activation.html.erb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/views/user_mailer/account_activation.html.erb b/app/views/user_mailer/account_activation.html.erb index d6e498b..3cc61d2 100644 --- a/app/views/user_mailer/account_activation.html.erb +++ b/app/views/user_mailer/account_activation.html.erb @@ -6,10 +6,8 @@ Welcome to the Sample App! Click on the link below to activate your account:

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

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

\ No newline at end of file