tweaked message 'read' system

This commit is contained in:
MrYummy
2017-06-16 21:14:09 +02:00
parent dd193e740a
commit 2bb75bb0b6
9 changed files with 11 additions and 7 deletions
+1
View File
@@ -1,5 +1,6 @@
<%= form_for [reply.get_message, reply] do |f| %>
<%= render partial: "md_editor", locals: {name: "messagereply[text]", content: reply.text} %>
<%= f.hidden_field :user_unread, value: current_user %>
<p><%= f.submit "Reply", class: "btn blue" %></p>
<% end %>