fix version path for editing

Signed-off-by: Florian Kraft <f.kraft@finn.de>
pull/3010/head
Florian Kraft 10 years ago
parent 59dd8acb9f
commit 100c6c5d8b
  1. 2
      app/views/versions/show.html.erb

@ -30,7 +30,7 @@ See doc/COPYRIGHT.rdoc for more details.
<%= toolbar title: h(@version.name) do %>
<% if authorize_for(:versions, :edit) %>
<li class="toolbar-item">
<%= link_to(edit_version_path(@project, @version), class: 'button') do %>
<%= link_to(edit_version_path(@version), class: 'button') do %>
<i class="button--icon icon-edit"></i>
<span class="button--text"><%= l(:button_edit) %></span>
<% end %>

Loading…
Cancel
Save