From ddce195afac3de72f5950bbdd588fef39d687ffc Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Wed, 16 Sep 2020 03:28:14 -0700 Subject: [PATCH] Add weapons routes These are for GridWeapons though --- config/routes.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/routes.rb b/config/routes.rb index 20ab0f4..dae5e86 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -8,6 +8,9 @@ Rails.application.routes.draw do resources :party, only: [:index, :create, :show, :destroy] resources :users, only: [:create, :show] resources :search, only: [:index] + + post 'weapons', to: 'grid_weapons#create' + delete 'weapons', to: 'grid_weapons#destroy' end end end