'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::post('newslatter', 'ContactController@newslatter')->name('newslatter'); Route::get('searchdata/{slug}', 'ProductController@searchdata'); Route::resource('service', 'ServiceController'); Route::get('service/{id}/{slug}', 'ServiceController@edit'); Route::get('about-us', 'AboutController@index'); Route::get('/terms', 'AboutController@termsCondition')->name('terms'); Route::get('/privacy', 'AboutController@privacyPolicy')->name('privacy'); Route::get('portfolio', 'ServiceController@gallery'); }); 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@category_Status'); // pages Management Route::resource('gallery', 'GalleryController'); Route::resource('pages', 'PagesController'); Route::resource('pageImage', 'PageImageController'); Route::resource('newslatter', 'NewsController'); Route::resource('contact', 'ContactController'); Route::resource('websetting', 'WebSettingsController'); Route::resource('testimonial', 'TestimonialController'); Route::resource('service', 'ServiceController'); Route::get('serviceStatus/{id}', 'ServiceController@service_Status'); }); }); Route::get('get_state_list','HomeController@getStateList'); Route::get('get_city_list','HomeController@getCityList');