Add a printer job queue via the printer plugin

This commit is contained in:
Patrick Gansterer 2019-02-02 12:40:57 +01:00
parent 63e1541aa3
commit c955a6ee40
24 changed files with 561 additions and 1 deletions

View 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