summaryrefslogtreecommitdiffstats
path: root/app/helpers
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2019-10-19 10:23:06 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2019-10-19 10:23:06 +0000
commit77add1315ba0386725c69f0fb64aaa3f7455eec8 (patch)
tree701e1acdaabdfd0fcb6169e2283a578bb045e355 /app/helpers
parentdc84b108880c699bb14908752ca2815a9b99daa5 (diff)
downloadredmine-77add1315ba0386725c69f0fb64aaa3f7455eec8.tar.gz
redmine-77add1315ba0386725c69f0fb64aaa3f7455eec8.zip
Return to version page after the issue is created (#28138).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18756 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/versions_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/versions_helper.rb b/app/helpers/versions_helper.rb
index cb7b61ffc..42dd6affd 100644
--- a/app/helpers/versions_helper.rb
+++ b/app/helpers/versions_helper.rb
@@ -100,7 +100,7 @@ module VersionsHelper
:tracker_id => new_issue_tracker,
:fixed_version_id => version.id
}
- link_to l(:label_issue_new), new_project_issue_path(project, :issue => attrs), :class => 'icon icon-add'
+ link_to l(:label_issue_new), new_project_issue_path(project, :issue => attrs, :back_url => version_path(version)), :class => 'icon icon-add'
end
end
end