diff options
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 |