Add a printer job queue via the printer plugin
This commit is contained in:
parent
63e1541aa3
commit
c955a6ee40
24 changed files with 561 additions and 1 deletions
11
plugins/printer/config/routes.rb
Normal file
11
plugins/printer/config/routes.rb
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
Rails.application.routes.draw do
|
||||
scope '/:foodcoop' do
|
||||
resources :printer, only: [:show] do
|
||||
get :socket, on: :collection
|
||||
end
|
||||
|
||||
resources :printer_jobs, only: [:index, :create, :show, :destroy] do
|
||||
get :document, on: :member
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue