app: remove leftovers of publish_validate route

The correponding code and feature have been removed a while ago.
This commit is contained in:
Pierre de La Morinerie 2021-09-02 19:50:29 +00:00
parent 0f9d7d6b8c
commit 3fc934c8fb
3 changed files with 1 additions and 3 deletions

View file

@ -2,7 +2,7 @@ class Admin::ProceduresController < AdminController
include SmartListing::Helper::ControllerExtensions
helper SmartListing::Helper
before_action :retrieve_procedure, only: [:show, :delete_logo, :delete_deliberation, :delete_notice, :publish_validate, :publish]
before_action :retrieve_procedure, only: [:show, :delete_logo, :delete_deliberation, :delete_notice, :publish]
def index
if current_administrateur.procedures.count != 0

View file

@ -17,7 +17,6 @@
class: 'form',
pattern: '^[a-z0-9_-]{3,200}$',
title: "De 3 à 200 caractères; minuscules, chiffres et tiret seulement",
data: { debounce: true, url: admin_procedure_publish_validate_path(procedure)},
autocomplete: 'off',
style: 'width: 300px; display: inline;')
.text-info.mb-4

View file

@ -205,7 +205,6 @@ Rails.application.routes.draw do
end
put 'archive' => 'procedures#archive', as: :archive
get 'publish_validate' => 'procedures#publish_validate', as: :publish_validate
put 'clone' => 'procedures#clone', as: :clone
end