diff --git a/lib/controllers/frontend/spree/user_confirmations_controller.rb b/lib/controllers/frontend/spree/user_confirmations_controller.rb index 11e5ce9bd..2720a0cd8 100644 --- a/lib/controllers/frontend/spree/user_confirmations_controller.rb +++ b/lib/controllers/frontend/spree/user_confirmations_controller.rb @@ -16,6 +16,6 @@ class Spree::UserConfirmationsController < Devise::ConfirmationsController protected def after_confirmation_path_for(resource_name, resource) - signed_in?(resource_name) ? spree.signed_in_root_path(resource) : spree.login_path + signed_in?(resource_name) ? signed_in_root_path(resource) : spree.login_path end end diff --git a/lib/views/frontend/spree/user_mailer/confirmation_instructions.text.erb b/lib/views/frontend/spree/user_mailer/confirmation_instructions.text.erb index 39832a34c..b788ac622 100644 --- a/lib/views/frontend/spree/user_mailer/confirmation_instructions.text.erb +++ b/lib/views/frontend/spree/user_mailer/confirmation_instructions.text.erb @@ -1,5 +1,5 @@ Welcome <%= @email %>! -You can confirm your account email through the link below: +You can confirm your account email through the url below: -<%= link_to 'Confirm my account', @confirmation_url %> \ No newline at end of file +<%= @confirmation_url %> \ No newline at end of file