Class: Auth::ConfirmationsController
- Inherits:
-
Devise::ConfirmationsController
- Object
- Devise::ConfirmationsController
- Auth::ConfirmationsController
- Defined in:
- app/controllers/auth/confirmations_controller.rb
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
9 10 11 |
# File 'app/controllers/auth/confirmations_controller.rb', line 9 def create super end |
#new ⇒ Object
5 6 7 |
# File 'app/controllers/auth/confirmations_controller.rb', line 5 def new super end |
#show ⇒ Object
13 14 15 16 17 18 19 |
# File 'app/controllers/auth/confirmations_controller.rb', line 13 def show self.resource = resource_class.confirm_by_token(params[:confirmation_token]) render status: :unprocessable_entity and return unless resource.errors.empty? redirect_to "#{ENV['FRONTEND_URL']}/signin?confirmed=true" end |