add delete link
This commit is contained in:
parent
c0ac69fc84
commit
e453cfce9c
|
@ -94,10 +94,10 @@ class Desktop::JournalPagesController < ApplicationController
|
|||
{ title: publication.paper_title,
|
||||
keywords: publication.keywords,
|
||||
abstract: publication.abstract,
|
||||
level: publication.journal_paper_type_id,
|
||||
coauthors: publication.authors,
|
||||
year: publication.year,
|
||||
url_edit: edit_desktop_journal_page_path(publication),
|
||||
url_delete: desktop_journal_page_path(publication),
|
||||
files: publication.writing_journal_files.collect{|file|
|
||||
{title: file.title, url: file.file.url, icon: check_file_type(file.file.url)}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue