fixes investment back link to avoid pointing to /new action
This commit is contained in:
@@ -2,10 +2,7 @@
|
||||
|
||||
<div class="row">
|
||||
<div class="small-12 medium-9 column">
|
||||
<%= link_to :back, class: "back" do %>
|
||||
<span class="icon-angle-left"></span>
|
||||
<%= t("shared.back") %>
|
||||
<% end %>
|
||||
<%= back_link_to budget_investments_path(investment.budget) %>
|
||||
|
||||
<h1><%= investment.title %></h1>
|
||||
|
||||
@@ -35,7 +32,7 @@
|
||||
</p>
|
||||
<% end %>
|
||||
|
||||
<%= render 'shared/tags', taggable: @investment %>
|
||||
<%= render 'shared/tags', taggable: investment %>
|
||||
|
||||
<%= safe_html_with_links investment.description.html_safe %>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user