summaryrefslogtreecommitdiffstats
path: root/app/controllers/issues_controller.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-11-02 15:38:11 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-11-02 15:38:11 +0000
commit32b79b6fd4e3a523ee393d7a3e2bb60dbeed77c3 (patch)
tree5050ce8fcb138d88180d9c3d61e34c05dc03a4d8 /app/controllers/issues_controller.rb
parent43f6914f520f9a79220414cdd5d54d6fa2cc0720 (diff)
downloadredmine-32b79b6fd4e3a523ee393d7a3e2bb60dbeed77c3.tar.gz
redmine-32b79b6fd4e3a523ee393d7a3e2bb60dbeed77c3.zip
Fixed that IssueRelation should not be responsible for calling Issue#init_journal (#18237).
git-svn-id: http://svn.redmine.org/redmine/trunk@13534 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/issues_controller.rb')
-rw-r--r--app/controllers/issues_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb
index f3e27928d..200d8b112 100644
--- a/app/controllers/issues_controller.rb
+++ b/app/controllers/issues_controller.rb
@@ -406,6 +406,7 @@ class IssuesController < ApplicationController
def build_new_issue_from_params
if params[:id].blank?
@issue = Issue.new
+ @issue.init_journal(User.current)
if params[:copy_from]
begin
@copy_from = Issue.visible.find(params[:copy_from])