Class: CommandTower::Auth::EmailVerification::SendController

Inherits:
CommandTower::ApplicationController show all
Includes:
AuthenticationBoundary, AuthorizationBoundary
Defined in:
app/controllers/command_tower/auth/email_verification/send_controller.rb

Constant Summary

Constants inherited from CommandTower::ApplicationController

CommandTower::ApplicationController::AUTHENTICATION_EXPIRE_HEADER, CommandTower::ApplicationController::AUTHENTICATION_HEADER, CommandTower::ApplicationController::AUTHENTICATION_WITH_RESET

Instance Method Summary collapse

Methods inherited from CommandTower::ApplicationController

#authenticate_user!, #authenticate_user_without_email_verification!, #authorize_user!, #current_user, #safe_boolean

Instance Method Details

#createObject



15
16
17
18
19
20
# File 'app/controllers/command_tower/auth/email_verification/send_controller.rb', line 15

def create
  result = CommandTower::Workflows::Auth::EmailVerification::SendWorkflow.call(
    current_user: current_user
  )
  render_application_result(result)
end