summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorDavid Gay <david@davidgay.org>2021-06-05 21:25:36 -0400
committerDavid Gay <david@davidgay.org>2021-06-05 21:25:36 -0400
commitedecba859900638646a2ac6d1ce47230c3323de3 (patch)
treec911250639d416a428403d63b7445dd392ce27de /config
parent3f44addf1959ff095a4eb23fc30c6642fcfdcaf2 (diff)
Display costs and requirements for selected activity in select fields via Stimulus + fetch
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 8510966..2f094a5 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -13,7 +13,9 @@ Rails.application.routes.draw do
resources :chat_messages, only: [:index, :create]
resources :locations, only: [:index, :show]
- resources :activities, only: [:index, :show]
+ resources :activities, only: [:index, :show] do
+ get :costs_and_requirements, on: :member
+ end
resources :items, only: [:index, :show]
resources :hearth_amenities, only: [] do