'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('category/{id}', 'ProductController@categoryProducts'); Route::resource('products', 'ProductController'); Route::get('products/{id}/{slug}', 'ProductController@product_details'); Route::get('searchdata', 'ProductController@searchdata'); Route::get('aboutUs', 'AboutController@index'); Route::get('/terms', 'AboutController@termsCondition')->name('terms'); Route::get('/privacy', 'AboutController@privacyPolicy')->name('privacy'); Route::get('/inquiry', 'ProductController@inquiryDetails')->name('inquiry'); Route::post('/inquiryStore', 'ProductController@inquiry_Store')->name('inquiryStore'); }); 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('category', 'CategoryController'); Route::get('categoryStatus/{id}', 'CategoryController@category_Status'); Route::resource('product', 'ProductController'); Route::get('productStatus/{id}', 'ProductController@product_Status'); // pages Management Route::resource('pages', 'PagesController'); Route::resource('pageImage', 'PageImageController'); Route::resource('contact', 'ContactController'); Route::resource('inquiry', 'InquiryController'); Route::resource('websetting', 'WebSettingsController'); Route::resource('testimonial', 'TestimonialController'); Route::resource('client', 'ClientController'); Route::resource('testimonial', 'TestimonialController'); Route::post('contactDelete','ContactController@contactDelete'); Route::post('inquiryDelete','InquiryController@inquiryDelete'); }); }); Route::get('get_state_list','HomeController@getStateList'); Route::get('get_city_list','HomeController@getCityList'); Route::get('exportCategory', 'Admin\CategoryController@export_Category'); Route::get('exportProduct', 'Admin\ProductController@export_Product');