Class: EmailsController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/emails_controller.rb

Instance Method Summary collapse

Instance Method Details

#editObject



4
# File 'app/controllers/emails_controller.rb', line 4

def edit; end

#updateObject



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