changes sps to investments in ballot relation

This commit is contained in:
Juanjo Bazán
2016-05-23 16:37:01 +02:00
parent 282553543f
commit 1cae255555

View File

@@ -4,6 +4,6 @@ class Budget
belongs_to :budget
has_many :lines, dependent: :destroy
has_many :spending_proposals, through: :lines
has_many :investments, through: :lines
end
end