'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::resource('products', 'ProductController'); Route::get('searchdata', 'ProductController@searchdata'); Route::get('products/{id}/{slug}', 'ProductController@product_details'); Route::resource('services', 'ServiceController'); Route::get('services/{id}/{slug}', 'ServiceController@edit'); Route::get('about-us', 'AboutController@index'); Route::get('/gallery', 'AboutController@galleryData')->name('gallery'); Route::get('/terms', 'AboutController@termsCondition')->name('terms'); Route::get('/privacy', 'AboutController@privacyPolicy')->name('privacy'); Route::get('/inquiry/{id}/{slug}', '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('gallery', 'GalleryController'); Route::resource('category', 'CategoryController'); Route::get('categoryStatus/{id}', 'CategoryController@category_Status'); Route::resource('pcategory', 'ProductCategoryController'); Route::get('pcategoryStatus/{id}', 'ProductCategoryController@category_Status'); Route::resource('product', 'ProductController'); Route::post('copyProduct', 'ProductController@copy_Product')->name('copyProduct'); Route::get('productStatus/{id}', 'ProductController@product_Status'); Route::get('productImport', 'ProductController@product_Import'); Route::post('productUpload', 'ProductsController@productUpload')->name('productUpload'); Route::post('proimport', 'ProductController@import')->name('proimport'); // pages Management Route::resource('pages', 'PagesController'); Route::resource('pageImage', 'PageImageController'); Route::resource('newslatter', 'NewsController'); Route::resource('contact', 'ContactController'); Route::resource('inquiry', 'InquiryController'); Route::resource('teams', 'TeamDetailsController'); Route::resource('websetting', 'WebSettingsController'); Route::resource('testimonial', 'TestimonialController'); Route::resource('service', 'ServiceController'); Route::post('contactDelete','ContactController@contactDelete'); Route::post('inquiryDelete','InquiryController@inquiryDelete'); Route::get('serviceStatus/{id}', 'ServiceController@service_Status'); }); }); 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'); Route::post('ckimageUpload', [ProductController::class, 'ckimageUpload'])->name('ckimageUpload');