Friday, September 6, 2013

Rails mailboxer gem, send message to user using form

Rails mailboxer gem, send message to user using form

I have installed the mailboxer gem to my rails app. It's successfully
working when i'm using it in the console. Exemple:
current_user.send_message(User.last, "Body", "subject")
But i want to know how to do to make it work with a form view and a
controller. I want to be able to pass the send_message arguments through a
view and send it to a message or a conversation controller.
I don't know the right way to handle this fantastic gem. Thanks in advance
J.D.

No comments:

Post a Comment