'{subdomain}.phnomlist.dev'], function(){ Route::group(['middleware' => ['web']], function () { Route::get('register', function($subdomain){ if (property_exists($this, 'registerView')) { return view($this->registerView); } $city = \App\Models\Cities::lists('name','id'); $industry = \App\Models\Industries::lists('name','name'); return view('auth.register',['subdomain'=>$subdomain,'city'=>$city,'industry'=>$industry]); }); Route::post('register','Auth\AuthController@register'); });});*//*Route::group(['domain' => 'www.phnomlist.dev'], function(){ Route::get('/',function(){ return redirect('http://jobs.phnomlist.dev'); });})*/;/*** Home Subdomain Route*//*Route::group(['domain' => 'homes.phnomlist.dev'], function(){ Route::group(['middleware' => ['web']], function () { Route::group(['middleware' => ['auth']], function () { Route::get('dashboard',function(){ return view('dashboard.index'); }); }); });});*//*** Car Subdomain Route*//*Route::group(['domain' => 'cars.phnomlist.dev'], function(){ Route::group(['middleware' => ['web']], function () { Route::group(['middleware' => ['auth']], function () { Route::get('dashboard',function(){ return view('dashboard.index'); }); }); });});*//*/*** Default Route*/Route::group(['middleware' => ['web']], function () { Route::get('/','HomepageController@homepage'); Route::get('search_result','HomepageController@search'); Route::get('search','JobpostController@search'); Route::get('list_more','JobpostController@search'); Route::get('more_job','HomepageController@more_job'); Route::get('job_short/{short}','HomepageController@short_job'); Route::get('company/{id}/{company_name}','CompanyController@company_detail'); Route::get('map_view', 'JobpostController@map_view'); Route::get('add_compare/{id}','JobpostController@add_compare'); Route::get('remove_compare/{id}','JobpostController@remove_compare'); Route::get('add_favourite_compare/{id}','CandidateController@add_favourite_compare'); Route::get('remove_favourite_compare/{id}','CandidateController@remove_favourite_compare'); Route::get('show_compare','JobpostController@show_compare'); Route::get('match_profile/{company_name}/{job_id}','JobpostController@match_profile'); Route::get('clear_checked','JobpostController@clear_checked'); Route::get('clear_favourite_checked','CandidateController@clear_favourite_checked'); Route::get('browse_city','HomepageController@browse_city'); Route::get('browse_industry','HomepageController@browse_industry'); Route::get('browse_function','HomepageController@browse_function'); Route::get('browse_company','HomepageController@browse_company'); Route::get('company_list','HomepageController@company_list'); Route::get('jobs/location/{location}','HomepageController@list_location'); Route::get('jobs/industry/{industry}','HomepageController@list_industry'); Route::get('jobs/job_function/{function}','HomepageController@list_function'); //jobs detail route Route::get('company/{company_name}/{job_id}/{job_title?}','JobdetailController@job_detail')->where('job_title', '(.*)'); // term condition policy Route::get('term_condition',function(){ return view('job.term_condition'); }); Route::get('privacy_policy',function(){ return view('job.privacy_policy'); }); Route::get('term_use',function(){ return view('job.term_condition_policy'); }); Route::get('blogs','HomepageController@blogs'); Route::get('blogs/category/{categorySlug}','HomepageController@blog_by_category'); Route::get('blog/{blogTitle}','HomepageController@blog_detail'); Route::get('pages/{pageInfo}','HomepageController@page_info'); Route::auth(); Route::get('/cv_upload','HomepageController@cv_upload'); Route::post('/cv_upload','HomepageController@save_cv_upload'); Route::get('activate/email/{email}/token/{token}', 'Auth\AuthController@activate'); Route::get('change_password',function(){ return view('auth.passwords.change_password'); }); Route::get('activated_email/reset','Auth\AuthController@form_resend_code'); Route::post('activated_email/reset','Auth\AuthController@resend_active_code'); Route::post('change_password','UserController@change_password'); Route::post('dashboard','UserController@confirm_role'); // CITY BY COUNTRY Route::get('country/city/{id}', 'CandidateController@getCityByCountry'); Route::group(['middleware' => ['auth']],function(){ Route::get('dashboard','UserController@checkJobRole'); // add to favourite list Route::get('jobs/{job_id}/add_to_favourite_list','CandidateController@favourite_list'); Route::get('jobs/{job_id}/remove_favourite','CandidateController@remove_favourite'); //add to preferred company list Route::get('jobs/{id}/add_to_preferred_company','CandidateController@add_preferred'); Route::get('jobs/{id}/remove_preferred','CandidateController@remove_preferred'); Route::get('dashboard/change_password','UserController@change_password'); Route::post('dashboard/change_password','UserController@store_new_password'); Route::get('get_location_map/{id}','JobpostController@getlocation'); /* Role of Company route */ Route::group(['middleware' => ['company']], function () { //load ajax route //contact infor Route::get('addContactForm/{index}','CompanyController@contactform'); //invite interview Route::get('invite_interview/{job_id}/{candidate_id}','CompanyController@invite_interview'); Route::post('invite_interview/{candidate_id}','CompanyController@send_invitation'); //load jobskill and job language and contact person Route::get('addjobpostForm/{index}','JobpostController@jobskill'); Route::get('addjoblanguageForm/{index}','JobpostController@joblanguage'); Route::get('getcontactinfo/{contact_name}','JobpostController@getcontact'); //company profile route Route::get('dashboard/company_profile','CompanyController@company_profile'); Route::get('dashboard/add_profile','CompanyController@add_profile'); Route::post('dashboard/add_profile','CompanyController@store_profile'); Route::get('dashboard/company_profile/edit_info','CompanyController@edit_info'); Route::post('dashboard/company_profile/edit_info','CompanyController@update_info'); Route::get('dashboard/company_profile/edit_contact','CompanyController@edit_contact'); Route::post('dashboard/company_profile/edit_contact','CompanyController@update_contact'); Route::get('dashboard/company_profile/delete/{user_id}','CompanyController@delete_contact_person'); Route::get('dashboard/company_profile/add_contact_person','CompanyController@add_contact_person'); Route::post('dashboard/company_profile/add_contact_person','CompanyController@store_contact_person'); //jobs post route Route::get('dashboard/jobs/create','JobpostController@create')->name('postJob'); Route::post('dashboard/jobs/create','JobpostController@store_jobpost'); Route::get('dashboard/jobs/un_publish/{id}','JobpostController@un_publish'); Route::get('dashboard/jobs/publish/{id}','JobpostController@publish'); Route::get('dashboard/jobs/edit/{id}','JobpostController@edit'); Route::post('dashboard/jobs/edit/{id}','JobpostController@update'); Route::get('dashboard/jobs/{job_id}/edit/skill/{id}','JobpostController@edit_skill'); Route::post('dashboard/jobs/{job_id}/edit/skill/{id}','JobpostController@update_skill'); Route::get('dashboard/jobs/skill/delete/{id}','JobpostController@delete_skill'); Route::get('dashboard/jobs/{job_id}/edit/language/{id}','JobpostController@edit_language'); Route::post('dashboard/jobs/{job_id}/edit/language/{id}','JobpostController@update_language'); Route::get('dashboard/jobs/language/delete/{id}','JobpostController@delete_language'); //company credit route Route::get('dashboard/credit', 'CompanyController@company_credit'); Route::post('dashboard/credit', 'CompanyController@top_up'); Route::get('dashboard/credit_transaction','CompanyController@credit_transaction'); //company job application Route::get('dashboard/job_application', 'CompanyController@job_application'); //Route::get('dashboard/job_application/{id}/{job_title}','CompanyController@short_job_application'); Route::get('dashboard/job_application_ajax/{title}','CompanyController@job_application_by_title'); //company application detail Route::get('dashboard/job_application/job_id/{job_id}/candidate_id/{candidate_id}', 'CompanyController@application_detail'); //company resume watchlst Route::get('dashboard/resume_watchlist', 'CompanyController@resume_watchlist'); //company resume watchlst Route::get('dashboard/search_resume', 'CompanyController@search_resume'); Route::get('dashboard/search_resume/popup_resume/{userId}','CompanyController@search_resume_popup'); //company wiew resume Route::get('dashboard/search_resume/view_resume', 'CompanyController@view_resume'); //company suggested candidate Route::get('dashboard/suggested_candidate', 'CompanyController@suggested_candidate'); //company manage job Route::get('dashboard/manage_job', 'CompanyController@manage_job'); }); /* Role of Candidate route */ Route::group(['middleware' => ['candidate']], function () { //load ajax route Route::get('downloadResume/{type}/{job_id?}','CandidateController@downloadResume'); //work experience and skill Route::get('addWorkExpForm/{index}','CandidateController@workexpform'); Route::get('addSkillForm/{index}','CandidateController@skillform'); Route::get('addEducationForm/{index}','CandidateController@educationform'); Route::get('addLanguageForm/{index}','CandidateController@languageform'); Route::get('addReferenceForm/{index}','CandidateController@referenceform'); //end ajax route //Route candidate account Route::get('dashboard/account','CandidateController@account'); Route::get('dashboard/user_info','CandidateController@addaccount'); Route::post('dashboard/user_info','CandidateController@storeaccount'); Route::get('dashboard/account/edit','CandidateController@editaccount'); Route::post('dashboard/account/edit','CandidateController@updateaccount'); Route::get('dashboard/account/editcontact','CandidateController@edit_contact_detail'); Route::post('dashboard/account/editcontact','CandidateController@update_contact'); //Route candidate preferred Route::get('dashboard/dream_job','CandidateController@preferred'); Route::get('dashboard/add_dream_job','CandidateController@addpreferred'); Route::post('dashboard/add_dream_job','CandidateController@storepreferred'); Route::get('dashboard/dream_job/edit','CandidateController@editpreferred'); Route::post('dashboard/dream_job/edit','CandidateController@updatepreferred'); //Route candidate resume Route::get('dashboard/resume/add_experience','CandidateController@add_experience'); Route::post('dashboard/resume/add_experience','CandidateController@store_experience'); Route::get('dashboard/resume/add_skill','CandidateController@add_skill'); Route::post('dashboard/resume/add_skill','CandidateController@store_skill'); Route::get('dashboard/resume/add_education','CandidateController@add_education'); Route::post('dashboard/resume/add_education','CandidateController@store_education'); Route::get('dashboard/resume/add_reference','CandidateController@add_reference'); Route::post('dashboard/resume/add_reference','CandidateController@store_reference'); Route::get('dashboard/resume/add_language','CandidateController@add_language'); Route::post('dashboard/resume/add_language','CandidateController@store_language'); Route::get('dashboard/resume','CandidateController@resume'); Route::get('dashboard/resume/create','CandidateController@create_resume'); Route::post('dashboard/resume/create','CandidateController@save_resume'); Route::get('dashboard/resume/edit','CandidateController@edit_resume'); Route::post('dashboard/resume/edit','CandidateController@update_resume'); Route::get('dashboard/resume/experience/delete/{id}','CandidateController@delete_work_exp'); Route::get('dashboard/resume/education/delete/{id}','CandidateController@delete_education'); Route::get('dashboard/resume/skill/delete/{id}','CandidateController@delete_skill'); Route::get('dashboard/resume/language/delete/{id}','CandidateController@delete_language'); Route::get('dashboard/resume/reference/delete/{id}','CandidateController@delete_reference'); //Route::get('dashboard/resume/work_exp/{id}','CandidateController@editworkexp'); //Route::post('dashboard/resume/work_exp/{id}','CandidateController@updateworkexp'); Route::get('dashboard/resume/work_exp/{id}/delete','CandidateController@deleteworkexp'); //Route::get('dashboard/resume/skill/{id}','CandidateController@editskill'); //Route::post('dashboard/resume/skill/{id}','CandidateController@updateskill'); Route::get('dashboard/resume/skill/{id}/delete','CandidateController@deleteskill'); //Route::get('dashboard/resume/language/{id}','CandidateController@editlanguage'); //Route::post('dashboard/resume/language/{id}','CandidateController@updatelanguage'); Route::get('dashboard/resume/language/{id}/delete','CandidateController@deletelanguage'); //Route::get('dashboard/resume/education/{id}','CandidateController@editeducation'); //Route::post('dashboard/resume/education/{id}','CandidateController@updateeducation'); Route::get('dashboard/resume/education/{id}/delete','CandidateController@deleteeducation'); //Route::get('dashboard/resume/reference/{id}','CandidateController@edit_reference'); //Route::post('dashboard/resume/reference/{id}','CandidateController@update_reference'); Route::get('dashboard/resume/reference/{id}/delete','CandidateController@delete_reference'); //Route candidate application Route::get('dashboard/application','CandidateController@application'); //Route candidate favourite Route::get('dashboard/saved_job','CandidateController@favorite'); Route::get('show_favourite_compare','CandidateController@favourite_compare'); Route::post('delete_favourite_dashboard','CandidateController@delete_favourite_dashboard'); Route::post('apply_favourite_dashboard','CandidateController@apply_favourite_dashboard'); //Route candidate jobAlert Route::get('dashboard/job_alert','CandidateController@jobAlert'); //Route candidate suggested job Route::get('dashboard/suggested_job','CandidateController@suggestedJob'); //Route candidate preferred_company Route::get('dashboard/preferred_company','CandidateController@preferredCompany'); Route::get('preferred_company/delete/{company_id}','CandidateController@delete_preferred_company'); // candidate apply job Route::get('jobs/apply/{company_name}/{job_id}/{job_title?}','CandidateController@apply_job')->where('job_title', '(.*)'); Route::post('jobs/apply_compare_jobs','CandidateController@apply_compare_jobs'); }); // Admin Route Route::group(['middleware' => ['admin']],function(){ Route::get('admin/dashboard','AdminController@dashboard'); Route::get('admin/package-list','AdminController@package_list')->name('package_list'); Route::get('admin/package/add','AdminController@add_package'); Route::post('admin/package/add','AdminController@save_package'); Route::get('admin/package/{packageID}/edit','AdminController@edit_package'); Route::post('admin/package/{packageId}/edit','AdminController@update_package'); Route::get('admin/package/{packageId}/disable','AdminController@disable_package'); Route::get('admin/package/{packageId}/enable','AdminController@disable_package'); Route::get('admin/purchase-order','AdminController@purchase_order'); Route::get('admin/purchase-order/view/{id}','AdminController@view_purchase_order'); Route::get('admin/purchase-order/update/{type}/{id}/{remark?}','AdminController@update_purchase_order'); Route::get('admin/users/{userId}/profile','AdminController@user_profile'); Route::get('admin/users/{userId}/add_profile','AdminController@user_add_profile')->name('admin_add_user_profile'); Route::post('admin/users/{userId}/add_profile','AdminController@user_save_profile'); Route::get('admin/users/{userId}/edit_info','AdminController@user_edit_info'); Route::post('admin/users/{userId}/edit_info','AdminController@user_update_info'); Route::get('admin/users/{userId}/edit_contact','AdminController@user_edit_contact'); Route::post('admin/users/{userId}/edit_contact','AdminController@user_update_contact'); Route::get('admin/users/{userId}/delete_contact','AdminController@user_delete_contact_person'); Route::get('admin/users/{userId}/add_contact_person','AdminController@user_add_contact_person'); Route::post('admin/users/{userId}/add_contact_person','AdminController@user_store_contact_person'); Route::get('admin/users/{userId}/change_password','AdminController@user_change_password'); Route::post('admin/users/{userId}/change_password','AdminController@user_store_new_password'); Route::get('admin/users/{userId}/downloadResume/{type}','AdminController@downloadResume'); Route::get('admin/mailing_list','AdminController@mailing_list'); Route::get('admin/mailing_list/add_remove_featured/{companyId}','AdminController@add_remove_featured'); Route::get('admin/mailing_list/add_remove_promotion/{companyId}','AdminController@add_remove_promotion'); Route::get('admin/manage_job','AdminController@manage_job'); Route::get('admin/users','AdminController@user_list'); Route::get('admin/cv_download/{fileName}','AdminController@cv_download'); Route::get('admin/users/delete/{id}','AdminController@user_delete'); Route::get('admin/users/edit/{id}','AdminController@showUserEditForm'); Route::post('admin/users/edit/{id}','AdminController@user_edit'); Route::post('admin/users/edit/company_profile/{user_id}','AdminController@edit_company_profile'); Route::post('admin/users/edit/candidate_profile/{user_id}','AdminController@edit_candidate_profile'); Route::get('admin/users/top-up/{user_id}','AdminController@showUserCreditEditForm'); Route::post('admin/users/top-up/{user_id}','AdminController@top_up_credit'); Route::post('admin/users/deduce/{user_id}','AdminController@deduce_credit'); Route::get('admin/banners','AdminController@banner_list'); Route::get('admin/banners/add','AdminController@add_banner'); Route::post('admin/banners/add','AdminController@save_banner'); Route::get('admin/banners/edit/{bannerId}','AdminController@edit_banner'); Route::post('admin/banners/edit/{bannerId}','AdminController@update_banner'); Route::get('admin/banners/delete/{id}','AdminController@delete_banner'); Route::get('admin/function','AdminController@function_list'); Route::get('admin/function/{functionType}/edit/{id}','AdminController@edit_function'); Route::post('admin/function/{functionType}/edit/{id}','AdminController@update_function'); Route::get('admin/function/{functionType}/delete/{id}','AdminController@delete_function'); Route::get('admin/blog','AdminController@blog_list')->name('blog'); Route::get('admin/blog/add','AdminController@add_blog'); Route::post('admin/blog/add','AdminController@save_blog'); Route::get('admin/blog/edit/{id}','AdminController@edit_blog'); Route::post('admin/blog/edit/{id}','AdminController@update_blog'); Route::get('admin/blog/delete/{id}','AdminController@delete_blog'); Route::get('admin/blog/category','AdminController@list_blog_category')->name('blog_category'); Route::get('admin/blog/category/add','AdminController@add_category'); Route::post('admin/blog/category/add','AdminController@save_category'); Route::get('admin/blog/category/edit/{id}','AdminController@edit_category'); Route::post('admin/blog/category/edit/{id}','AdminController@update_category'); Route::get('admin/blog/category/delete/{id}','AdminController@delete_category'); Route::get('admin/blog/tag','AdminController@list_blog_tag')->name('blog_tag'); Route::get('admin/blog/tag/add','AdminController@add_tag'); Route::post('admin/blog/tag/add','AdminController@save_tag'); Route::get('admin/blog/tag/edit/{id}','AdminController@edit_tag'); Route::post('admin/blog/tag/edit/{id}','AdminController@update_tag'); Route::get('admin/blog/tag/delete/{id}','AdminController@delete_tag'); }); });});

Sorry, the page you are looking for could not be found.