From 0ac5950f8c50bfcb6ce6cd89c0e80d982513cd15 Mon Sep 17 00:00:00 2001 From: David Gay Date: Tue, 6 Jul 2021 20:11:20 -0400 Subject: Increase chat message area chat message limit from 100 to 200, and add a chat history page that shows the last 2,000 messages --- config/routes.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'config') diff --git a/config/routes.rb b/config/routes.rb index 26e6666..ce39562 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -13,7 +13,11 @@ Rails.application.routes.draw do get :look, to: "look#look" - resources :chat_messages, only: [:index, :create] + resources :chat_messages, only: [:index, :create] do + collection do + get :list + end + end resources :activities, only: [:index, :show] do get :costs_and_requirements, on: :member end -- cgit v1.2.3