mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-25 00:03:27 +08:00
Fix ruby style issues
This commit is contained in:
parent
5d6905564e
commit
d55e7d256a
1 changed files with 1 additions and 0 deletions
|
@ -636,6 +636,7 @@ class ExperimentsController < ApplicationController
|
|||
|
||||
def generate_two_by_two_connections(src_tasks, dest_tasks)
|
||||
return if src_tasks.empty? || dest_tasks.empty?
|
||||
|
||||
src_tasks.each do |src|
|
||||
dest_tasks.each do |dest|
|
||||
Connection.create!(input_id: dest.id, output_id: src.id)
|
||||
|
|
Loading…
Reference in a new issue