edit url changed and delete url added
This commit is contained in:
parent
f7db060051
commit
53031c1831
|
@ -35,7 +35,8 @@ class Desktop::JournalPapersController < DesktopAdminController
|
|||
|
||||
{
|
||||
"id" => j.id.to_s,
|
||||
"edit_url" => "/#{I18n.locale.to_s}/admin/jounal_papers/#{j.to_param}/edit",
|
||||
"edit_url" => "/#{I18n.locale.to_s}/admin/journal_papers/#{j.to_param}/edit",
|
||||
"delete_url" => "/#{I18n.locale.to_s}/admin/journal_papers/#{j.id.to_s}",
|
||||
"paper_title" => j.paper_title,
|
||||
"journal_title" => j.journal_title,
|
||||
"keywords" => j.keywords,
|
||||
|
|
Loading…
Reference in New Issue