edit url changed and delete url added

This commit is contained in:
Harry Bomrah 2014-11-26 17:08:40 +08:00
parent f7db060051
commit 53031c1831
1 changed files with 2 additions and 1 deletions

View File

@ -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,