Class: Devise::VerificationController
- Inherits:
-
DeviseController
- Object
- DeviseController
- Devise::VerificationController
- Defined in:
- app/controllers/devise/verification_controller.rb
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
8 9 10 11 12 13 14 15 16 17 |
# File 'app/controllers/devise/verification_controller.rb', line 8 def create resource.assign_attributes(account_verification_params) if resource.valid_for_verification? && resource.save :notice, :verified redirect_to after_verification_path(resource) else render 'new' end end |
#new ⇒ Object
5 6 |
# File 'app/controllers/devise/verification_controller.rb', line 5 def new end |