]> source.dussan.org Git - redmine.git/commitdiff
fix source indent at WorkflowTransition#replace_transitions
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 3 Jul 2020 11:12:04 +0000 (11:12 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 3 Jul 2020 11:12:04 +0000 (11:12 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@19845 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/workflow_transition.rb

index fea8179d02e2a90ae3986de74984cd99ee158289..5c3051690f6060ad21d881c9a37dabb27dc12042 100644 (file)
@@ -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"