change for menu

This commit is contained in:
Harry Bomrah 2014-11-27 16:30:00 +08:00
parent ce025b855e
commit 5215d76382
1 changed files with 4 additions and 2 deletions

View File

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