Created
November 16, 2016 10:53
-
-
Save panaak/5d0c26416f3be18e60910f223677d721 to your computer and use it in GitHub Desktop.
devise confirmation instructions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- require 'devise/version' | |
%p= t('.greeting', :recipient => @resource.email, :default => "Welcome #{@resource.email}!") | |
%p= t('.instruction', :default => "You can confirm your account email through the link below:") | |
%p= link_to t('.action', :default => "Confirm my account"), | | |
confirmation_url(@resource, :confirmation_token => (Devise::VERSION.start_with?('3.') ? @token : @resource.confirmation_token)) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment