personal-conference/app/controllers/desktop/personal_conferences_contro...

23 lines
416 B
Plaintext
Raw Normal View History

2014-12-03 09:52:16 +00:00
class Desktop::PersonalConferencesController < DesktopAdminController
include Admin::PersonalConferencesHelper
def menu
user = OrbitHelper.current_user
[
{
"title" => "List",
"layout" => "list"
},
{
"title" => "Add/Edit",
"layout" => "form",
"new_path" => "/admin/members/#{user.member_profile.to_param}/writing_conferences/new"
}
]
end
def list
get_paper_list
end
end