Rename investment helper method

This commit is contained in:
Senén Rodero Rodríguez
2017-06-24 20:22:00 +02:00
parent c89dc90d3a
commit 79ed66ec4c
2 changed files with 2 additions and 2 deletions

View File

@@ -10,7 +10,7 @@
<% end %>
<% if can?(:edit_image, @investment) %>
<%= link_to t("budgets.investments.show.#{investment_image_button_text(@investment)}"),
<%= link_to t("budgets.investments.show.#{investment_image_button_text_key(@investment)}"),
edit_image_budget_investment_path(investment.budget, investment),
class: 'button hollow float-right' %>
<% end %>