23 lines
393 B
Plaintext
23 lines
393 B
Plaintext
class Desktop::PersonalHonorsController < DesktopAdminController
|
|
include Admin::PersonalHonorsHelper
|
|
|
|
def menu
|
|
user = OrbitHelper.current_user
|
|
[
|
|
{
|
|
"title" => "List",
|
|
"layout" => "list"
|
|
},
|
|
{
|
|
"title" => "Add/Edit",
|
|
"layout" => "form",
|
|
"new_path" => "/admin/members/#{user.member_profile.to_param}/honors/new"
|
|
}
|
|
]
|
|
end
|
|
|
|
def list
|
|
get_paper_list
|
|
end
|
|
|
|
end |