Skip to content

Instantly share code, notes, and snippets.

@maecha
Last active March 29, 2018 07:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maecha/c6b6f9f23aa9f4c9a35b05dacff7fc10 to your computer and use it in GitHub Desktop.
Save maecha/c6b6f9f23aa9f4c9a35b05dacff7fc10 to your computer and use it in GitHub Desktop.
メール送信だけ
def send_email_to_user
email_params = {
subject: params[:subject],
to_email: params[:to_email],
from_email: params[:from_email],
description: params[:description],}
HogeMailer.send_email_to_user(email_params)
render :nothing => true
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment