Class: EmailsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- EmailsController
- Defined in:
- app/controllers/emails_controller.rb
Instance Method Summary collapse
Instance Method Details
#edit ⇒ Object
2 3 |
# File 'app/controllers/emails_controller.rb', line 2 def edit end |
#update ⇒ Object
5 6 7 8 9 10 11 |
# File 'app/controllers/emails_controller.rb', line 5 def update if current_user.update(user_params) redirect_to update_redirect_path, notice: 'Email successfully updated' else render :edit end end |