class ConfirmationsController

Public Instance Methods

show() click to toggle source

Signin automatically if they come in through the link

Calls superclass method
# File lib/generators/happy_seed/devise_confirmable/templates/app/controllers/confirmations_controller.rb, line 3
def show
  super do
    if resource.errors.empty?
      sign_in(resource) 
    end
  end
end