forked from saurabh/personal-journal
change for menu
This commit is contained in:
parent
ce025b855e
commit
5215d76382
|
@ -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
|
Loading…
Reference in New Issue