From 274b0f9b43eebdfcda37faa1eac5676e126788d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Thu, 2 Jun 2022 18:14:57 +0200 Subject: [PATCH] Remove legacy annotations route We forgot to remove it in commit 54e59a8a5. We were getting an exception on production when accessing the `/annotations/search` route because of it. --- config/routes.rb | 1 - config/routes/annotation.rb | 3 --- 2 files changed, 4 deletions(-) delete mode 100644 config/routes/annotation.rb diff --git a/config/routes.rb b/config/routes.rb index acbdf90d1..d216d1c81 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -4,7 +4,6 @@ Rails.application.routes.draw do draw :account draw :admin - draw :annotation draw :budget draw :comment draw :community diff --git a/config/routes/annotation.rb b/config/routes/annotation.rb deleted file mode 100644 index 7566f73d6..000000000 --- a/config/routes/annotation.rb +++ /dev/null @@ -1,3 +0,0 @@ -resources :annotations do - get :search, on: :collection -end