Skip to content

Commit

Permalink
Adding sale update
Browse files Browse the repository at this point in the history
  • Loading branch information
sofianegargouri committed Feb 10, 2025
1 parent 3c78096 commit a8c3369
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,9 @@
resources :payment_types
resources :products
resources :providers
resources :sales, except: %i[update]
resources :sale_payments, only: :index
resources :sale_products, only: :index
resources :sales, except: %i[update]
resources :sales
resources :shippings, except: [:update] do
patch :validate, on: :member
patch :cancel, on: :member
Expand Down

0 comments on commit a8c3369

Please sign in to comment.