Skip to content
Snippets Groups Projects
Commit cd04f3e9 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

fix

parent 1bc8e473
No related branches found
No related tags found
No related merge requests found
......@@ -83,14 +83,15 @@ class Research::Journal::Paper < ApplicationRecord
end
def git_dependencies(website)
[self] +
active_storage_blobs +
git_block_dependencies +
other_papers_in_the_volume +
people +
people.map(&:active_storage_blobs).flatten +
people.map(&:researcher) +
website.menus
dependencies = [self] +
active_storage_blobs +
git_block_dependencies +
other_papers_in_the_volume +
people +
people.map(&:active_storage_blobs).flatten +
people.map(&:researcher) +
website.menus
dependencies.flatten.compact
end
def to_s
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment