These are chat archives for mailboxer/mailboxer

Jun 2018
Jun 28 2018 12:08
Please can someone give a clue on how to define the recipient of mailboxer to @user of the page they are on. I dont want the user to select who to message.. i just want a current_user visiting a users page having signed in would just go into the compose box make a msg and hit sends it goes strait to the @user of the page that the msg was typed.. Did anyone get my question please?
<%=, User.all.collect {|p| [, ] }, {}, { multiple: true , class: "form-control" })%> Instead of looping through this i would like to c a functionality to enable current user message another User on that user page that i have created without having to select any user.