diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index af97ac4..bc38e3f 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -21,6 +21,7 @@ Rails.application.routes.draw do put '/account/cards/:id', to: 'cards#update' delete '/account/cards/:id', to: 'cards#destroy' put '/account', to: 'user_accounts#update' + resources :orders, only: %i[index show create] resources :companies, only: %i[index show create update] resources :products, only: %i[index show create update destroy] resources :products do |