diff options
author | HombreLaser <sebastian-440@live.com> | 2023-04-14 20:52:50 -0600 |
---|---|---|
committer | HombreLaser <sebastian-440@live.com> | 2023-04-14 20:52:50 -0600 |
commit | 9607fcb5a9cdc7595633336881cc0dd8aa9fb8ca (patch) | |
tree | a03b7f31fdca2e531d082ac813dc341262631a85 /config | |
parent | 8fbeea986d06a0052ce0132717f22b6ff8bd1a04 (diff) |
Corrige errores de OrdersController
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 |