diff options
author | David Gay <david@davidgay.org> | 2021-05-04 17:55:28 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-05-04 17:57:12 -0400 |
commit | 73744a9c6840fb0ba6f285ca81f9fba75ec22d5f (patch) | |
tree | 837333e9e46c5ccc6cf50214a94c2b9b6d0bb7f3 /config | |
parent | dddbf75428477f5e073584939d098e55d6324be3 (diff) |
Initial draft of timer setup, with results outputting and items being awarded
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index 6442ec2..9e6fb82 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -11,6 +11,10 @@ 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 :characters, only: [:show, :new, :create] do scope module: :characters do resources :items, only: [:index] @@ -18,4 +22,6 @@ Rails.application.routes.draw do end resources :locations, only: [:index, :show] + + post "/finish_activity", to: "game#finish_activity" end |