Add requeue action for printer jobs

This commit is contained in:
Patrick Gansterer 2020-08-12 20:05:57 +02:00
parent 3a25a50d8d
commit 754099999e
5 changed files with 15 additions and 1 deletions

View file

@ -26,7 +26,7 @@ en:
finished: Finished
pending: Pending
queued: Waiting for order to close
requeued: Requeued
title: Printer jobs
show:
title: Printer job %{id}

View file

@ -5,6 +5,7 @@ Rails.application.routes.draw do
end
resources :printer_jobs, only: [:index, :create, :show, :destroy] do
post :requeue, on: :member
get :document, on: :member
end
end