middleware('guest'); Route::middleware(['auth','revalidate'])->group(function () { Route::get('/', 'HomeController@index')->name('home'); Route::get('/home', 'HomeController@index')->name('home'); Route::get('/projects', 'HomeController@projects')->name('projects'); Route::get('/myProjects', 'HomeController@myProjects')->name('myProjects'); Route::get('/detailProjects', 'HomeController@detailProjects')->name('detailProjects'); Route::get('/listProjectSaya', 'HomeController@listProjectSaya')->name('listProjectSaya'); Route::get('/tambahProject', 'HomeController@tambahProject')->name('tambahProject'); Route::get('/budgeting_project/{id}', 'HomeController@budgeting_project')->name('budgeting_project'); Route::get('/mng_meeting/{id}', 'HomeController@mng_meeting')->name('mng_meeting'); Route::post('/projects/act_any/{any}', 'HomeController@act_projects')->name('act_projects'); Route::post('/projects/get_any/{any}', 'HomeController@act_get_projects')->name('act_get_projects'); Route::post('/projects/back_date', 'HomeController@back_date')->name('back_date'); Route::get('/projects/dataTable', 'HomeController@dataTable')->name('projects.dataTable'); Route::get('/kanbanProject/{id}', 'HomeController@kanbanProject')->name('kanbanProject'); Route::get('/mngTeam', 'OthersController@mngTeam')->name('mngTeam'); Route::get('/others/data', 'OthersController@data')->name('others.data'); Route::get('/others/dataTable', 'OthersController@dataTable')->name('others.dataTable'); Route::get('/projects/data', 'HomeController@data_projects')->name('projects.data'); Route::get('/changeYearsStatistik', 'HomeController@changeYearsStatistik')->name('changeYearsStatistik'); Route::get('/inboxMeeting', 'HomeController@inboxMeeting')->name('inboxMeeting'); Route::get('/inboxMeeting/data', 'HomeController@inboxMeetingData')->name('inboxMeetingData'); Route::get('/laporanProject', 'HomeController@laporanProject')->name('laporanProject'); Route::get('cetakDok', 'HomeController@cetakDok')->name('cetakDok'); Route::get('helpdesk', 'HomeController@helpdesk')->name('helpdesk'); Route::get('helpdesk_data', 'HomeController@helpdesk_data')->name('helpdesk_data'); Route::get('detail_helpdesk/{id}', 'HomeController@detail_helpdesk')->name('detail_helpdesk'); Route::post('get_dokumen', 'HomeController@get_dokumen')->name('get_dokumen'); Route::get('approve_helpdesk', 'HomeController@approve_helpdesk')->name('approve_helpdesk'); Route::get('detail_approve_helpdesk/{id}', 'HomeController@detail_approve_helpdesk')->name('detail_approve_helpdesk'); Route::get('approve_css', 'HomeController@approve_css')->name('approve_css'); Route::get('detail_approve_css/{id}', 'HomeController@detail_approve_css')->name('detail_approve_css'); Route::get('/user', 'OthersController@user')->name('user'); Route::post('/user/store', 'OthersController@user_store')->name('user_store'); Route::post('/user/get/{id}', 'OthersController@user_get')->name('user_get'); Route::post('/user/delete', 'OthersController@user_delete')->name('user_delete'); Route::post('/user/reset', 'OthersController@user_reset')->name('user_reset'); Route::post('/user/change', 'OthersController@user_change')->name('user_change'); Route::post('/user/change_pp', 'OthersController@user_change_pp')->name('user_change_pp'); Route::get('/company', 'OthersController@company')->name('company'); Route::post('/company/store', 'OthersController@company_store')->name('company_store'); Route::post('/company/get/{id}', 'OthersController@company_get')->name('company_get'); Route::get('/client', 'OthersController@client')->name('client'); Route::post('/client/store', 'OthersController@client_store')->name('client_store'); Route::post('/client/get/{id}', 'OthersController@client_get')->name('client_get'); Route::prefix('ref')->group(function () { Route::get('index', 'RefController@index')->name('ref.index'); Route::get('data', 'RefController@data')->name('ref.data'); Route::post('edit', 'RefController@edit')->name('ref.edit'); Route::post('store', 'RefController@store')->name('ref.store'); Route::post('store/custom', 'RefController@storeCustom')->name('ref.storeCustom'); Route::post('delete', 'RefController@delete')->name('ref.delete'); }); // MENU Route::get('menu/{id}/index', 'MenuController@admin_index')->name('menu.index'); Route::post('menu/{id}/store', 'MenuController@admin_store')->name('menu.store'); Route::post('menu/{id}/menu_get', 'MenuController@admin_menu_get')->name('menu.menu_get'); Route::get('data/menu/{id}', 'MenuController@admin_data')->name('data.menu'); });