Skip to content

armgit / maybe

Public Imported from GitHub
0

The personal finance app for everyone

Add cabin / cottage as a property type (#1658)

Eirik H7265f585186e
diff --git a/app/models/property.rb b/app/models/property.rb
index c173e2cb..ec1d530f 100644
--- a/app/models/property.rb
+++ b/app/models/property.rb
@@ -6,7 +6,8 @@ class Property < ApplicationRecord
[ "Multi-Family Home", "multi_family_home" ],
[ "Condominium", "condominium" ],
[ "Townhouse", "townhouse" ],
- [ "Investment Property", "investment_property" ]
+ [ "Investment Property", "investment_property" ],
+ [ "Second Home", "second_home" ]
]
has_one :address, as: :addressable, dependent: :destroy