From 93a5602fe25e579711e2f213b17512d78fb37049 Mon Sep 17 00:00:00 2001 From: Daniel Perrett Date: Tue, 16 Jan 2024 15:14:03 +0000 Subject: [PATCH] fix/no-users-api-route --- app/controllers/api/users_controller.rb | 5 ----- config/routes.rb | 1 - 2 files changed, 6 deletions(-) delete mode 100644 app/controllers/api/users_controller.rb diff --git a/app/controllers/api/users_controller.rb b/app/controllers/api/users_controller.rb deleted file mode 100644 index 1845d95ef2..0000000000 --- a/app/controllers/api/users_controller.rb +++ /dev/null @@ -1,5 +0,0 @@ -class Api::UsersController < ApplicationController - respond_to :json - inherit_resources - -end diff --git a/config/routes.rb b/config/routes.rb index 522f80a4cf..2f37748e98 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -51,7 +51,6 @@ get '/shipments/search_download_all' => 'shipments#search_download_all_data' end resources :languages, :only => [:index] - resources :users, :only => [:index] resources :designations, :only => [:index] resources :species_listings, :only => [:index] resources :change_types, :only => [:index]