summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-02-08 15:06:31 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-02-08 15:06:31 +0000
commitaeb6dbc306163548a78d320d291b45b17b2ecf7f (patch)
treec2fd4557fc3d4779b8930e293554c6d03963fd15 /app/views
parent2a7a649f92878a7e19ac3a9a9ac0358ed71d65e4 (diff)
downloadredmine-aeb6dbc306163548a78d320d291b45b17b2ecf7f.tar.gz
redmine-aeb6dbc306163548a78d320d291b45b17b2ecf7f.zip
Links to completed versions on the roadmap page might lead to a "403 not authorized page" (#19030).
Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@13988 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r--app/views/versions/index.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/versions/index.html.erb b/app/views/versions/index.html.erb
index b4b485587..65926bbd9 100644
--- a/app/views/versions/index.html.erb
+++ b/app/views/versions/index.html.erb
@@ -81,7 +81,7 @@
:id => 'toggle-completed-versions', :class => 'collapsible collapsed' %>
<ul id = "completed-versions" style = "display:none;">
<% @completed_versions.each do |version| %>
- <li><%= link_to(format_version_name(version), version_path(version)) %></li>
+ <li><%= link_to_version version %></li>
<% end %>
</ul>
</p>