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