Worked on operator view

This commit is contained in:
2024-08-13 04:42:17 +02:00
parent b467f9c86d
commit ead82a9222
8 changed files with 195 additions and 68 deletions

View File

@@ -5,7 +5,14 @@ Rails.application.routes.draw do
end
end
namespace :operator do
resources :jobs
resources :jobs do
member do
patch "cancel"
patch "pickup"
patch "printing"
patch "paid"
end
end
end
# Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html