From 285b28eb258df3f11fca8e648f2bae3590e1dabd Mon Sep 17 00:00:00 2001 From: Bilel Kihal <61744974+Bilelkihal@users.noreply.github.com> Date: Mon, 22 Apr 2024 18:13:12 +0200 Subject: [PATCH] Fix: admin delete submission route (#585) * add back admin routes to fix delete submission * remove admin duplicated routes --- config/routes.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/routes.rb b/config/routes.rb index b556a9068..010ce4fbb 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -100,6 +100,7 @@ get 'admin/ontologies_report', to: 'admin#ontologies_report' post 'admin/refresh_ontologies_report', to: 'admin#refresh_ontologies_report' delete 'admin/ontologies', to: 'admin#delete_ontologies' + delete 'admin/ontologies/:acronym/submissions/:id', to: 'admin#delete_submission' put 'admin/ontologies', to: 'admin#process_ontologies' get 'admin/update_check_enabled', to: 'admin#update_check_enabled' get 'admin/ontologies/:acronym/log', to: 'admin#parse_log' @@ -241,6 +242,7 @@ get '/exhibit/:ontology/:id' => 'concepts#exhibit' + mount Lookbook::Engine, at: "/lookbook" end