diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb index f9c1f7b..4eee2a0 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -12,7 +12,7 @@ Rails.application.routes.draw do end resources :chat_messages, only: [:index, :create] - + resources :locations, only: [:index, :show] resources :activities, only: [:show] resources :characters, only: [:show, :new, :create] do @@ -28,7 +28,10 @@ Rails.application.routes.draw do end end - resources :locations, only: [:index, :show] + get "/bazaar", to: "bazaar#index" + post "/bazaar", to: "bazaar#create_order", as: :bazaar_order + post "/bazaar/accept/:id", to: "bazaar#accept_offer", as: :bazzar_accept_offer + delete "/bazaar/cancel/:id", to: "bazaar#cancel_offer", as: :bazzar_cancel_offer post "/start_activity", to: "activities#start" post "/finish_activity", to: "game#finish_activity" |