8ac1471a89
This new view sorts the messages by threads based on the reply_to. Now we store only the message which started a new thread in the reply_to field to avoid recursive queries.
7 lines
270 B
Text
7 lines
270 B
Text
- title t('.title')
|
|
|
|
- content_for :actionbar do
|
|
= link_to t('.messages'), messages_path, class: 'btn'
|
|
= link_to t('.new'), new_message_path, class: 'btn btn-primary'
|
|
#message_threads
|
|
= render 'message_threads', message_threads: @message_threads, pagination: true
|