confirmation redirect link to front end
To test:
- Make sure that Sidekiq is started. See the README if unsure how.
- Make sure that the Rails server is started. See the README if unsure how.
- Make sure that Maildev is started. See the README if unsure how.
- Start the console and create a user:
FactoryBot.create(:user)
. - You will get an email in Maildev. Click the link and note the redirection to localhost:3001/signin?confirmed=true
- Get the user id from step 4 and make sure they are confirmed
User.find(2).confirmed?
Edited by Anthony Shull