diff options
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/chat_messages_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/chat_messages_controller.rb b/app/controllers/chat_messages_controller.rb index adb73ce..b99e2c0 100644 --- a/app/controllers/chat_messages_controller.rb +++ b/app/controllers/chat_messages_controller.rb @@ -1,6 +1,6 @@ class ChatMessagesController < ApplicationController def index - @chat_messages = ChatMessage.order(created_at: :asc).limit(1_000).reverse + @chat_messages = ChatMessage.order(created_at: :desc).limit(1_000) end def list |