diff options
author | David Gay <david@davidgay.org> | 2021-06-05 21:25:36 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-06-05 21:25:36 -0400 |
commit | edecba859900638646a2ac6d1ce47230c3323de3 (patch) | |
tree | c911250639d416a428403d63b7445dd392ce27de /config | |
parent | 3f44addf1959ff095a4eb23fc30c6642fcfdcaf2 (diff) |
Display costs and requirements for selected activity in select fields via Stimulus + fetch
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 4 |
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 |