summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-07-03 11:12:04 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-07-03 11:12:04 +0000
commit11c1a3e02791cd8549ded8be804e40ec97578e45 (patch)
treee0af1aefd03c8e7cba7c9dca3e241a795afb2a2e
parentfeccfdd9857df06ed778b05cdfed6da1e6d78f14 (diff)
downloadredmine-11c1a3e02791cd8549ded8be804e40ec97578e45.tar.gz
redmine-11c1a3e02791cd8549ded8be804e40ec97578e45.zip
fix source indent at WorkflowTransition#replace_transitions
git-svn-id: http://svn.redmine.org/redmine/trunk@19845 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/models/workflow_transition.rb13
1 files changed, 7 insertions, 6 deletions
diff --git a/app/models/workflow_transition.rb b/app/models/workflow_transition.rb
index fea8179d0..5c3051690 100644
--- a/app/models/workflow_transition.rb
+++ b/app/models/workflow_transition.rb
@@ -52,12 +52,13 @@ class WorkflowTransition < WorkflowRule
if transition == "1" || transition == true
unless w
- w = WorkflowTransition.new(
- :old_status_id => old_status_id,
- :new_status_id => new_status_id,
- :tracker_id => tracker.id,
- :role_id => role.id
- )
+ w = WorkflowTransition.
+ new(
+ :old_status_id => old_status_id,
+ :new_status_id => new_status_id,
+ :tracker_id => tracker.id,
+ :role_id => role.id
+ )
records << w
end
w.author = true if rule == "author"