summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorDavid Gay <david@davidgay.org>2021-07-06 20:11:20 -0400
committerDavid Gay <david@davidgay.org>2021-07-06 20:11:20 -0400
commit0ac5950f8c50bfcb6ce6cd89c0e80d982513cd15 (patch)
tree8d71642cb8fa11a62284d3f685bb6d126c32a4a6 /config
parentde4cece0f141d883d62614dfe132a24a5e140eda (diff)
Increase chat message area chat message limit from 100 to 200, and add a chat history page that shows the last 2,000 messages
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb6
1 files changed, 5 insertions, 1 deletions
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