'prevent-back-history'],function(){ Route::get('resetPassword/{token}', 'ForgotPasswordController@resetPassword'); Route::post('updatePass', 'ForgotPasswordController@forgotstore')->name('updatePass'); Route::post('/sendPassword', 'ForgotPasswordController@store')->name('sendPassword'); Route::group(['namespace' => 'Client', 'namespace' => 'Client'], function() { Route::resource('/contactUs', 'ContactController'); Route::get('searchdata/{slug}', 'ServiceController@searchdata'); Route::resource('service', 'ServiceController'); Route::get('service/{id}/{slug}', 'ServiceController@edit'); Route::get('industries', 'ServiceController@create'); Route::get('industries/{id}/{slug}', 'ServiceController@industryEdit'); Route::get('about-us', 'AboutController@index'); Route::get('clients', 'AboutController@create'); Route::get('/terms', 'AboutController@termsCondition')->name('terms'); Route::get('/privacy', 'AboutController@privacyPolicy')->name('privacy'); }); Auth::routes(); Route::group(['prefix' => 'admin', 'namespace' => 'Admin', 'middleware' => 'auth', 'admin'], function() { Route::get('/', 'DashboardController@index')->name('home'); Route::resource('dashboard', 'DashboardController'); Route::post('inquiryReport','DashboardController@inquiry_Report')->name('inquiryReport'); Route::resource('userProfile', 'ProfileController'); Route::get('resetpassword', 'ProfileController@show'); Route::post('/changePassword/{id}','ProfileController@changePassword')->name('changePassword'); // Category Management Route::resource('client', 'ClientController'); Route::get('clientStatus/{id}', 'ClientController@client_Status'); Route::resource('industries', 'IndustryController'); Route::get('industriesStatus/{id}', 'IndustryController@industries_Status'); // pages Management Route::resource('pages', 'PagesController'); Route::resource('pageImage', 'PageImageController'); Route::resource('contact', 'ContactController'); Route::resource('websetting', 'WebSettingsController'); Route::resource('testimonial', 'TestimonialController'); Route::resource('service', 'ServiceController'); Route::get('serviceStatus/{id}', 'ServiceController@service_Status'); }); }); Route::group(['namespace' => 'Admin'], function() { Route::get('exportLoanUser', 'InquiryController@export_User'); });