Sha256: 2c46b88f769164482390120ecda87416ba734d5d628790a55acff178e838e2aa
Contents?: true
Size: 232 Bytes
Versions: 1
Compression:
Stored size: 232 Bytes
Contents
class ConfirmationsController < Devise::ConfirmationsController # Signin automatically if they come in through the link def show super do if resource.errors.empty? sign_in(resource) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
happy_seed-0.0.21 | lib/generators/happy_seed/devise_confirmable/templates/app/controllers/confirmations_controller.rb |