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",
|
"title" => "List",
|
||||||
"layout" => "list",
|
"layout" => "list"
|
||||||
"data" => get_paper_list
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title" => "Add/Edit",
|
"title" => "Add/Edit",
|
||||||
|
@ -20,6 +19,9 @@ class Desktop::JournalPapersController < DesktopAdminController
|
||||||
]
|
]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def list
|
||||||
|
get_paper_list
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
end
|
end
|
Loading…
Reference in New Issue