From a4c97a9d5212c3d2de098fcf1c3f6f5e74d3e99a Mon Sep 17 00:00:00 2001 From: Ryan Taber Date: Fri, 15 Mar 2024 11:20:54 -0500 Subject: [PATCH] Removes unused model and routes (#546) --- app/models/credit.rb | 2 -- config/routes.rb | 10 ---------- 2 files changed, 12 deletions(-) delete mode 100644 app/models/credit.rb diff --git a/app/models/credit.rb b/app/models/credit.rb deleted file mode 100644 index 069f76fe..00000000 --- a/app/models/credit.rb +++ /dev/null @@ -1,2 +0,0 @@ -class Credit < Account -end diff --git a/config/routes.rb b/config/routes.rb index a6d16f74..13ac17a1 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -12,16 +12,6 @@ Rails.application.routes.draw do resources :valuations end - scope "accounts/new" do - scope "bank" do - get "", to: "accounts#new_bank", as: "new_bank" - end - - scope "credit" do - get "", to: "accounts#new_credit", as: "new_credit" - end - end - # Reveal health status on /up that returns 200 if the app boots with no exceptions, otherwise 500. # Can be used by load balancers and uptime monitors to verify that the app is live. get "up" => "rails/health#show", as: :rails_health_check