diff options
author | David Gay <david@davidgay.org> | 2021-05-19 21:16:15 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-05-19 21:16:15 -0400 |
commit | 5afdcd12f04102b5cf5d5a310981bc576a992119 (patch) | |
tree | 2f8a8768856268cf755a6c4eb82f768f8c02affc /config | |
parent | e941a28056142ee239bbba623f03537aab0ae039 (diff) |
Implement crafting from the hearth forge
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/config/routes.rb b/config/routes.rb index 21230a8..f3096f7 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -11,9 +11,7 @@ Rails.application.routes.draw do put "users", to: "devise/registrations#update", as: "user_registration" end - resources :activities, only: [:show] do - post "start", on: :member - end + resources :activities, only: [:show] resources :characters, only: [:show, :new, :create] do scope module: :characters do @@ -24,5 +22,6 @@ Rails.application.routes.draw do resources :locations, only: [:index, :show] + post "/start_activity", to: "activities#start" post "/finish_activity", to: "game#finish_activity" end |