Module: ClerkRails::Helpers::Controller
- Defined in:
- lib/clerk_rails/helpers.rb
Instance Method Summary collapse
Instance Method Details
#authenticate_account! ⇒ Object
10 11 12 13 14 15 16 17 18 |
# File 'lib/clerk_rails/helpers.rb', line 10 def authenticate_account! if account_signed_in? if !current_account.verified_email_address redirect_to verify_email_address_url and return end else redirect_to sign_in_url and return end end |