From 403f048f3f7cb16774d864719401041480640c8d Mon Sep 17 00:00:00 2001 From: rgarcia Date: Wed, 27 Jul 2016 11:33:41 +0200 Subject: [PATCH] updates calls to new method names --- app/views/budgets/investments/show.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/budgets/investments/show.html.erb b/app/views/budgets/investments/show.html.erb index 58e6027ea..5a751e615 100644 --- a/app/views/budgets/investments/show.html.erb +++ b/app/views/budgets/investments/show.html.erb @@ -33,9 +33,9 @@ <% end %> - <% if @investment.unfeasible? && @investment.feasible_explanation.present? %> + <% if @investment.unfeasible? && @investment.unfeasibility_explanation.present? %>

<%= t('budget.investments.show.unfeasibility_explanation') %>

-

<%= @investment.feasible_explanation %>

+

<%= @investment.unfeasibility_explanation %>

<% end %> <% if @investment.feasible? && @investment.price_explanation.present? %>