modified getjournals format
This commit is contained in:
parent
5643b0a528
commit
02643c12bf
|
@ -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