Add requeue action for printer jobs
This commit is contained in:
parent
3a25a50d8d
commit
754099999e
5 changed files with 15 additions and 1 deletions
|
|
@ -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}
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue