Skip to content

Commit

Permalink
Fix: admin delete submission route (#585)
Browse files Browse the repository at this point in the history
* add back admin routes to fix delete submission

* remove admin duplicated routes
  • Loading branch information
Bilelkihal authored Apr 22, 2024
1 parent d643bba commit 285b28e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -241,6 +242,7 @@

get '/exhibit/:ontology/:id' => 'concepts#exhibit'


mount Lookbook::Engine, at: "/lookbook"

end

0 comments on commit 285b28e

Please sign in to comment.