Skip to content

armgit / maybe

Public Imported from GitHub
0

The personal finance app for everyone

Removes unused model and routes (#546)

Ryan Tabera4c97a9d5212
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