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

Fix #506

parent 7cc5e8c1
No related branches found
No related tags found
No related merge requests found
......@@ -65,6 +65,10 @@ class Research::Journal::Paper < ApplicationRecord
"content/papers/#{published_at.year}/#{published_at.strftime "%Y-%m-%d"}-#{slug}.html" if (volume.nil? || volume.published_at) && published_at
end
def template_static
"admin/research/journals/papers/static"
end
def git_dependencies(website)
[self] +
active_storage_blobs +
......
......@@ -56,6 +56,11 @@ class Research::Journal::Volume < ApplicationRecord
"content/volumes/#{published_at.year}/#{slug}/_index.html" if published_at
end
def template_static
"admin/research/journals/volumes/static"
end
def git_dependencies(website)
[self] +
papers +
......
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