Class: ConfirmationsController

Inherits:
Devise::ConfirmationsController
  • Object
show all
Defined in:
lib/generators/happy_seed/devise_confirmable/templates/app/controllers/confirmations_controller.rb

Instance Method Summary collapse

Instance Method Details

#showObject

Signin automatically if they come in through the link



3
4
5
6
7
8
9
# File 'lib/generators/happy_seed/devise_confirmable/templates/app/controllers/confirmations_controller.rb', line 3

def show
  super do
    if resource.errors.empty?
      (resource) 
    end
  end
end