app/controllers/conversations_controller.rb
# Allow users to add a subject as well by adding another text field with Mailboxer method reply_to_conversation. It accepts a conversation to reply to, a message body, an optional subject, and a handful of other arguments.
Allow users to add a subject as well by adding another text field with Mailboxer method reply_to_conversation. It accepts a conversation to reply to, a message body, an optional subject, and a handful of other arguments.
Allow users to add a subject as well by adding another text field with Mailboxer method reply_to_conversation . It accepts a conversation to reply to a message body an optional subject and a handful of other arguments .
def reply
    current_user.reply_to_conversation(@conversation, params[:body])
    flash[:success] = 'Reply sent'
    redirect_to conversation_path(@conversation)
  end
def reply current_user . reply_to_conversation ( @conversation , params [ :body ] ) flash [ :success ] = 'Reply sent' redirect_to conversation_path ( @conversation ) end
Allow users to add a subject as well by adding another text field with Mailboxer method reply_to_conversation.
Allow users to add a subject as well by adding another text field with Mailboxer method reply_to_conversation .