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