foodsoft/plugins/printer/config/routes.rb

13 lines
299 B
Ruby
Raw Normal View History

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
2020-08-12 20:05:57 +02:00
post :requeue, on: :member
get :document, on: :member
end
end
end