summaryrefslogtreecommitdiffstats
path: root/app/views/projects/settings/_versions.html.erb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-05-15 17:25:27 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-05-15 17:25:27 +0000
commite68043e13c42ad56bda7c6a54a6c386d1ce8243d (patch)
treefba2c52459c1b0c71a1bbc5acd43c4c04c10fd6a /app/views/projects/settings/_versions.html.erb
parent05481fe96b2afde58eface87a83f59f09572cdbf (diff)
downloadredmine-e68043e13c42ad56bda7c6a54a6c386d1ce8243d.tar.gz
redmine-e68043e13c42ad56bda7c6a54a6c386d1ce8243d.zip
Fixed that creating a new version from project settings does not redirect to versions tab (#10923).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9699 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/projects/settings/_versions.html.erb')
-rw-r--r--app/views/projects/settings/_versions.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/settings/_versions.html.erb b/app/views/projects/settings/_versions.html.erb
index 785dcfa71..306670587 100644
--- a/app/views/projects/settings/_versions.html.erb
+++ b/app/views/projects/settings/_versions.html.erb
@@ -38,4 +38,4 @@
<% end %>
</div>
-<p><%= link_to l(:label_version_new), new_project_version_path(@project), :class => 'icon icon-add' if User.current.allowed_to?(:manage_versions, @project) %></p>
+<p><%= link_to l(:label_version_new), new_project_version_path(@project, :back_url => ''), :class => 'icon icon-add' if User.current.allowed_to?(:manage_versions, @project) %></p>