diff --git a/app/controllers/desktop/journal_papers_controller.rb b/app/controllers/desktop/journal_papers_controller.rb index 4570482..d729468 100644 --- a/app/controllers/desktop/journal_papers_controller.rb +++ b/app/controllers/desktop/journal_papers_controller.rb @@ -5,8 +5,7 @@ class Desktop::JournalPapersController < DesktopAdminController [ { "title" => "List", - "layout" => "list", - "data" => get_paper_list + "layout" => "list" }, { "title" => "Add/Edit", @@ -20,6 +19,9 @@ class Desktop::JournalPapersController < DesktopAdminController ] end + def list + get_paper_list + end end \ No newline at end of file