mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-28 17:54:16 +08:00
fixed protocol.rb
This commit is contained in:
parent
c27ffa9fbf
commit
346bffe08f
1 changed files with 2 additions and 2 deletions
|
@ -148,7 +148,7 @@ class Protocol < ActiveRecord::Base
|
||||||
|
|
||||||
def self.new_blank_for_module(my_module)
|
def self.new_blank_for_module(my_module)
|
||||||
Protocol.new(
|
Protocol.new(
|
||||||
organization: my_module.project.organization,
|
organization: my_module.experiment.project.organization,
|
||||||
protocol_type: :unlinked,
|
protocol_type: :unlinked,
|
||||||
my_module: my_module
|
my_module: my_module
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue