- Implement AccountActivationsController for activation logic - Create UserMailer for sending activation emails - Update SessionsController to handle unactivated users - Modify UsersController to restrict access to activated users - Add activation fields to User model and database migration - Create views for account activation emails - Add tests for account activation functionality
5 lines
178 B
Plaintext
5 lines
178 B
Plaintext
Hi <%= @user.name %>
|
|
|
|
Welcome to the Sample App! Click on the link below to activate your account:
|
|
|
|
<%= edit_account_activation_url(@user.activation_token, email: @user.email) %> |