'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', 'ServiceController@searchdata'); Route::resource('services', 'ServiceController'); Route::get('services/{id}/{slug}', 'ServiceController@edit'); Route::get('about-us', 'AboutController@index'); Route::get('/industries', 'AboutController@industriesData')->name('industries'); 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::resource('userProfile', 'ProfileController'); Route::get('resetpassword', 'ProfileController@show'); Route::post('/changePassword/{id}','ProfileController@changePassword')->name('changePassword'); // Category Management Route::resource('industries', 'IndustriesController'); Route::resource('product', 'ProductController'); // pages Management Route::resource('pages', 'PagesController'); Route::resource('pageImage', 'PageImageController'); Route::resource('contact', 'ContactController'); Route::post('contactDelete', 'ContactController@contactDelete'); 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('exportContact', 'ContactController@export_Contact'); });