Last active
March 29, 2018 07:20
-
-
Save maecha/c6b6f9f23aa9f4c9a35b05dacff7fc10 to your computer and use it in GitHub Desktop.
メール送信だけ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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