mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-10 09:23:58 +08:00
fixed project_my_module method
This commit is contained in:
parent
6053c782f9
commit
c27ffa9fbf
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ class Project < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def project_my_modules
|
||||
experiments.collect{ |exp| exp.my_modules }.first
|
||||
MyModule.where('"experiment_id" IN (?)', experiments.select(:id))
|
||||
end
|
||||
|
||||
def space_taken
|
||||
|
|
Loading…
Reference in a new issue