modified getjournals format
This commit is contained in:
parent
11b602a1bf
commit
529e2110d7
|
@ -58,7 +58,10 @@ class DesktopPublicationsController< ApplicationController
|
|||
abstract: publication.abstract,
|
||||
level: publication.journal_paper_type_id,
|
||||
coauthors: publication.authors,
|
||||
year: publication.year
|
||||
year: publication.year,
|
||||
files: publication.writing_journal_files.collect{|file|
|
||||
{title: file.title, url: file.file.url}
|
||||
}
|
||||
}
|
||||
end
|
||||
|
||||
|
|
Reference in New Issue