diff options
author | David Gay <david@davidgay.org> | 2021-05-26 20:57:47 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-05-26 20:57:47 -0400 |
commit | 8cec9b3f6f277399c6da23a04d8afb0c68cf8a2b (patch) | |
tree | 749356642343c8f7ad2e20f7d3d94fe709c26725 /config | |
parent | 920b9a66eb2d7e7810c16f1d9b70d65a19736487 (diff) |
Basic usage of hearth amenities
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index 95071d7..71ba34f 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -15,6 +15,10 @@ Rails.application.routes.draw do resources :locations, only: [:index, :show] resources :activities, only: [:show] + resources :hearth_amenities, only: [] do + post "/use", to: "hearth_amenities#use" + end + resources :characters, only: [:show, :new, :create] do post "/combat_styles", to: "characters#set_combat_styles" scope module: :characters do |