remove old route

This commit is contained in:
clemkeirua 2020-09-17 13:53:48 +02:00
parent bf0d3914ce
commit 08d0fa80fa
3 changed files with 14 additions and 24 deletions

View file

@ -17,28 +17,6 @@ class Admin::ProceduresController < AdminController
end
end
def archived
@procedures = smart_listing_create :procedures,
current_administrateur.procedures.closes.order(published_at: :desc),
partial: "admin/procedures/list",
array: true
archived_class
render 'index'
end
def draft
@procedures = smart_listing_create :procedures,
current_administrateur.procedures.brouillons.order(created_at: :desc),
partial: "admin/procedures/list",
array: true
draft_class
render 'index'
end
def show
if @procedure.brouillon?
@procedure_lien = commencer_test_url(path: @procedure.path)