В настоящее время у меня возникла проблема, связанная с ответом AJAX на поиск существующего клиента. Когда я получаю доступ к панели инструментов, используя одну и ту же учетную запись в разных браузерах, например: http://www.inwrite.com/turtle/dashboard

1 : http://www.inwrite.com/turtle/dashboard с использованием Google Chrome, ответ возвратил этот статус обещания как «решен». Смотрите прикрепленное изображение здесь:

статус обещания разрешен

Но в других браузерах, даже в Chrome Incognito, он возвращал статус обещания как «отклоненный».

статус обещания отклонен

В дополнение к этому я попытался войти в систему, используя разные учетные записи, но вернул ту же ошибку. Какие могут быть возможные причины такого «рендеринга AJAX-вызовов в разных браузерах / вкладках»?

dashboard_left.blade.php

{amp}lt;div class="dashboard-box"{amp}gt; {amp}lt;div class="forehead"{amp}gt; {amp}lt;div class="box-profile-pic" style="background: url(https://www.fiaregion1.com/wp-content/uploads/2018/06/gdpr_profile-picture-400x400.jpg) no-repeat;"{amp}gt; {amp}lt;/div{amp}gt; {amp}lt;/div{amp}gt; {amp}lt;div class="dashboard-contents"{amp}gt; {amp}lt;h3 class="profile-name"{amp}gt;{{ $user-{amp}gt;first_name }} {{ $user-{amp}gt;last_name }}{amp}lt;/h3{amp}gt; {amp}lt;div class="btns"{amp}gt; {amp}lt;button class="btn btn-blue btn-edit" data-toggle="modal" data-target="#modalBox" id="btn-update-profile"{amp}gt;{amp}lt;i class="fa fa-pencil-square-o" aria-hidden="true"{amp}gt;{amp}lt;/i{amp}gt; Edit{amp}lt;/button{amp}gt; {amp}lt;a class="btn btn-red" href="{{ url('/logout') }}"{amp}gt;{amp}lt;i class="fa fa-sign-out" aria-hidden="true"{amp}gt;{amp}lt;/i{amp}gt; Log Out{amp}lt;/a{amp}gt; {amp}lt;/div{amp}gt; {amp}lt;ul class="order-type-list"{amp}gt; {amp}lt;a class="list-link" href="#"{amp}gt; {amp}lt;li class="row"{amp}gt; All Orders {amp}lt;/li{amp}gt; {amp}lt;/a{amp}gt; {amp}lt;a class="list-link" href="#"{amp}gt; {amp}lt;li class="row"{amp}gt; New Orders {amp}lt;/li{amp}gt; {amp}lt;/a{amp}gt; {amp}lt;a class="list-link" href="#"{amp}gt; {amp}lt;li class="row"{amp}gt; Orders Fulfilled {amp}lt;/li{amp}gt; {amp}lt;/a{amp}gt; {amp}lt;a class="list-link" href="#"{amp}gt; {amp}lt;li class="row"{amp}gt; Orders Processing {amp}lt;/li{amp}gt; {amp}lt;/a{amp}gt; {amp}lt;a class="list-link" href="#"{amp}gt; {amp}lt;li class="row"{amp}gt; Orders Cancelled {amp}lt;/li{amp}gt; {amp}lt;/a{amp}gt; {amp}lt;/ul{amp}gt; {amp}lt;/div{amp}gt; {amp}lt;/div{amp}gt; {amp}lt;!-- Modal: modalCart --{amp}gt; {amp}lt;div class="modal fade modal-edit-profile" id="modalBox" data-backdrop="static" data-keyboard="false" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"{amp}gt; {amp}lt;input type="hidden" class="js-input-id" value="" /{amp}gt; {amp}lt;div class="modal-dialog" role="document"{amp}gt; {amp}lt;div class="modal-content"{amp}gt; {amp}lt;!--Header--{amp}gt; {amp}lt;div class="modal-header"{amp}gt; {amp}lt;h4 class="modal-title" id="myModalLabel"{amp}gt;Update Profile{amp}lt;/h4{amp}gt; {amp}lt;button type="button" class="close" data-dismiss="modal" aria-label="Close"{amp}gt; {amp}lt;span aria-hidden="true"{amp}gt;×{amp}lt;/span{amp}gt; {amp}lt;/button{amp}gt; {amp}lt;/div{amp}gt; {amp}lt;!--Body--{amp}gt; {amp}lt;div class="modal-body"{amp}gt; {amp}lt;div class="form-group"{amp}gt; {amp}lt;label class="lbl-input" for="first_name"{amp}gt;First Name:{amp}lt;/label{amp}gt; {amp}lt;input type="text" class="form-control txt-input single-field" id="first_name" name="first_name" required{amp}gt; {amp}lt;/div{amp}gt; {amp}lt;div class="form-group"{amp}gt; {amp}lt;label class="lbl-input" for="last_name"{amp}gt;Last Name:{amp}lt;/label{amp}gt; {amp}lt;input type="text" class="form-control txt-input single-field" id="last_name" name="last_name" required{amp}gt; {amp}lt;/div{amp}gt; {amp}lt;div class="form-group"{amp}gt; {amp}lt;label class="lbl-input" for="email"{amp}gt;Email:{amp}lt;/label{amp}gt; {amp}lt;input type="text" class="form-control txt-input single-field" id="email" name="email" disabled{amp}gt; {amp}lt;/div{amp}gt; {amp}lt;div class="form-group"{amp}gt; {amp}lt;label class="lbl-input" for="password"{amp}gt;New Password(leave blank if unchanged):{amp}lt;/label{amp}gt; {amp}lt;input type="password" class="form-control txt-input single-field" id="password" name="password"{amp}gt; {amp}lt;/div{amp}gt; {amp}lt;div class="form-group"{amp}gt; {amp}lt;label class="lbl-input" for="password2"{amp}gt;Confirm New Password:{amp}lt;/label{amp}gt; {amp}lt;input type="password" class="form-control txt-input single-field" id="password2" name="password2"{amp}gt; {amp}lt;/div{amp}gt; {amp}lt;div class="form-group"{amp}gt; {amp}lt;label class="lbl-input" for="occupation"{amp}gt;Occupation:{amp}lt;/label{amp}gt; {amp}lt;input type="text" class="form-control txt-input single-field" id="occupation" name="occupation"{amp}gt; {amp}lt;/div{amp}gt; {amp}lt;div class="form-group"{amp}gt; {amp}lt;label class="lbl-input" for="company"{amp}gt;Company:{amp}lt;/label{amp}gt; {amp}lt;input type="text" class="form-control txt-input single-field" id="company" name="company"{amp}gt; {amp}lt;/div{amp}gt; {amp}lt;div class="form-group"{amp}gt; {amp}lt;label class="lbl-input" for="location"{amp}gt;Location:{amp}lt;/label{amp}gt; {amp}lt;input type="text" class="form-control txt-input single-field" id="location" name="location" required{amp}gt; {amp}lt;/div{amp}gt; {amp}lt;div class="form-group"{amp}gt; {amp}lt;label class="lbl-input" for="timezone"{amp}gt;Timezone:{amp}lt;/label{amp}gt; {amp}lt;select class="form-control single-field" id="timezone" name="timezone" required{amp}gt; @foreach($timezones as $timezone) {amp}lt;option value="{{ $timezone }}"{amp}gt;{{ $timezone }}{amp}lt;/option{amp}gt; @endforeach {amp}lt;/select{amp}gt; {amp}lt;/div{amp}gt; {amp}lt;div class="form-group"{amp}gt; {amp}lt;label class="lbl-input" for="prof-pic"{amp}gt;Profile Picture:{amp}lt;/label{amp}gt; {amp}lt;input type="file" class="form-control" id="prof-pic" name="prof-pic"{amp}gt; {amp}lt;/div{amp}gt; {amp}lt;/div{amp}gt; {amp}lt;!--Footer--{amp}gt; {amp}lt;div class="modal-footer"{amp}gt; {amp}lt;button type="button" class="btn btn-med js-btn-cancel btn-red" data-dismiss="modal"{amp}gt;Cancel{amp}lt;/button{amp}gt; {amp}lt;button class="btn btn-med js-btn-add btn-blue btn-red-hover"{amp}gt;Update{amp}lt;/button{amp}gt; {amp}lt;/div{amp}gt; {amp}lt;/div{amp}gt; {amp}lt;/div{amp}gt; {amp}lt;/div{amp}gt; {amp}lt;!-- Modal: modalCart --{amp}gt; {amp}lt;script{amp}gt; //load JS functions upon loading document.addEventListener('DOMContentLoaded', () ={amp}gt; { var dqs = (cs) ={amp}gt; { return document.querySelector(cs) }; var dqsa = (cs) ={amp}gt;{ return document.querySelectorAll(cs) }; var mqs = (cs) ={amp}gt; { return document.querySelector('.modal').querySelector(cs) }; var mqsa = (cs) ={amp}gt; { return document.querySelector('.modal').querySelectorAll(cs) }; //display edit modal var showEditModal = (data) ={amp}gt; { if(data.errors.length !== 0) return data.errors.forEach((error) ={amp}gt; { //return M.toast({ html: error}); console.log(error); }); if(data.model === null || data.model === undefined) //return M.toast({ html: 'invalid json'}); console.log('invalid json'); mqs('.modal-title').innerHTML = 'Edit Profile'; mqs('.js-btn-add').innerHTML = 'Update'; mqs('.js-input-id').value = data.model.id; mqs('#first_name').value = data.model.first_name; mqs('#last_name').value = data.model.last_name; mqs('#email').value = data.model.email; mqs('#password').value = ''; mqs('#password2').value = ''; mqs('#location').value = data.model.location; mqs('#timezone').value = data.model.timezone; mqs('#occupation').value = data.model.occupation; mqs('#company').value = data.model.company; }; //save edits var fetchModelSave = () ={amp}gt; { var modal = dqs('.modal'); let headers = {}; headers['X-Requested-With'] = "XMLHttpRequest"; var data = new FormData(); data.append('id', mqs('.js-input-id').value); data.append('first_name', mqs('#first_name').value); data.append('last_name', mqs('#last_name').value); data.append('email', mqs('#email').value); data.append('password', mqs('#password').value); data.append('password2', mqs('#password2').value); data.append('location', mqs('#location').value); data.append('occupation', mqs('#occupation').value); data.append('timezone', mqs('#timezone').value); data.append('company', mqs('#company').value); fetch("{{ url('/customer/update') }}", { headers: headers, method: "POST", body: data, credentials: "same-origin" }).then((res) ={amp}gt; { if(res.status !== 200) console.log('Failed to update customer.'); return res.json(); }).then((data) ={amp}gt; { if(data.errors.length !== 0) return data.errors.forEach((e) ={amp}gt; { console.log(e); }); alert('Successfully Updated Customer Info!'); mqs('.js-btn-cancel').click(); location.reload(); }); }; //call AJAX to edit faqs var fetchModelEdit = (id) ={amp}gt; { let headers = {}; headers['X-Requested-With'] = "XMLHttpRequest"; var data = new FormData(); data.append('id', id); fetch("{{ url('/customer/edit') }}", { headers: headers, method: "POST", body: data, credentials: "same-origin" }).then((res) ={amp}gt; { if(res.status !== 200) console.log('Failed to edit customer.'); console.log(res.clone().json()); return res.json(); }).then((data) ={amp}gt; { //console.log(data); showEditModal(data); }).catch((e) ={amp}gt; { console.log("Error! "   e); }); }; //add buttons functions var setupButtons = () ={amp}gt; { dqs('.btn-edit').onclick = fetchModelEdit({{ $user-{amp}gt;id }}); dqs('.js-btn-add').onclick = fetchModelSave; }; setupButtons(); }); {amp}lt;/script{amp}gt; 

CustomerEditController.php

 {amp}lt;?php namespace AppHttpControllersFront; use IlluminateHttpRequest; use AppHttpControllersBaseController as BaseController; class CustomerEditController extends BaseController { // public function handle(Request $request) { $id = $request-{amp}gt;input('id'); $model = AppModelsCustomers::where('id', $id)-{amp}gt;first(); if($model === null) return response()-{amp}gt;json(['errors' ={amp}gt; ['invalid customer']]); return response()-{amp}gt;json([ 'model' ={amp}gt; $model, 'errors' ={amp}gt; [] ]); } } 

DashboardController.php

 {amp}lt;?php namespace AppHttpControllersFront; use IlluminateHttpRequest; use AppHttpControllersBaseController as BaseController; class DashboardController extends BaseController { // public function handle(Request $request) { if(is_null($this-{amp}gt;getCurrentUser())){ return redirect(url('/login')); } $viewData = [ 'title' ={amp}gt; 'Turtl-E | Dashboard', 'blog_latest' ={amp}gt; $this-{amp}gt;getLatestPost(), 'header' ={amp}gt; $this-{amp}gt;getHeader(), 'footer' ={amp}gt; $this-{amp}gt;getFooter(), 'config' ={amp}gt; $this-{amp}gt;getConfig(), 'timezones' ={amp}gt; $this-{amp}gt;getTimezones(), 'user' ={amp}gt; $this-{amp}gt;getCurrentUser(), 'orders' ={amp}gt; $this-{amp}gt;getUserOrders(), ]; return view($this-{amp}gt;getFrontViewGroup() . 'dashboard', $viewData); } } 

web.php (маршруты)

 {amp}lt;?php /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | routes are loaded by the RouteServiceProvider within a group which | contains the "web" middleware group. Now create something great! | */ /*Route::get('/', function () { return view('welcome'); });*/ // prevents unauthorized access $c = [ AppHttpMiddlewareWebAuthMiddleware::class ]; /*TEST*/ Route::get( '/test/test2', 'FrontTestController@handle'); /*ERROR PAGE*/ Route::get( '/error', 'ErrorController@handle'); /*FRONT*/ Route::get( '/', 'FrontFrontController@handle'); Route::get( '/blogs', 'FrontBlogListController@handle'); Route::get( '/blogs/{cat}', 'FrontBlogListController@setActiveCategory'); Route::get( '/blogs/post/{slug}', 'FrontBlogController@handle'); Route::get( '/page/{pg_slug}', 'FrontPageController@handle'); Route::get( '/login', 'FrontLoginController@handle'); Route::post( '/login', 'FrontLoginController@login'); Route::get( '/logout', 'FrontLoginController@logout'); Route::post( '/sign-up', 'FrontSignUpController@handle'); Route::get( '/customer-verify', 'FrontCustomerVerifyController@handle'); Route::post('/customer-resend-verification', 'FrontCustomerResendVerificationController@handle'); Route::get( '/customer-password-reset', 'WebGetPasswordResetController@handle'); Route::post('/customer-password-reset', 'WebPostPasswordResetController@handle'); Route::get( '/reset-password', 'FrontResetPasswordController@handle'); Route::get( '/dashboard', 'FrontDashboardController@handle'); Route::get( '/create-new-order', 'FrontCreateNewOrderController@handle'); Route::post( '/customer/edit', 'FrontCustomerEditController@handle')-{amp}gt;middleware($c); Route::post( '/customer/update', 'FrontCustomerUpdateController@handle')-{amp}gt;middleware($c); /*ADMIN*/ Route::get( 'admin/login', 'DashboardDashboardLoginController@handle'); Route::post( 'admin/login', 'DashboardDashboardLoginPostController@handle'); Route::get( 'admin/logout', 'DashboardDashboardLogoutController@handle'); Route::get( '/admin', 'DashboardDashboardController@handle')-{amp}gt;middleware($c); Route::get( '/admin/orders', 'DashboardOrdersController@handle')-{amp}gt;middleware($c); Route::get( '/admin/customers', 'DashboardCustomersController@handle')-{amp}gt;middleware($c); Route::post( '/admin/customers/list', 'DashboardCustomersListController@handle')-{amp}gt;middleware($c); Route::post( '/admin/customers/delete-many', 'DashboardCustomersDeleteManyController@handle')-{amp}gt;middleware($c); Route::get( '/admin/administrators', 'DashboardAdministratorsController@handle')-{amp}gt;middleware($c); Route::post( '/admin/administrators/list', 'DashboardAdministratorsListController@handle')-{amp}gt;middleware($c); Route::post( '/admin/administrators/save', 'DashboardAdministratorsSaveController@handle')-{amp}gt;middleware($c); Route::post( '/admin/administrators/edit', 'DashboardAdministratorsEditController@handle')-{amp}gt;middleware($c); Route::post( '/admin/administrators/delete-many', 'DashboardAdministratorsDeleteManyController@handle')-{amp}gt;middleware($c); Route::get( '/admin/services', 'DashboardServicesController@handle')-{amp}gt;middleware($c); Route::post( '/admin/services/list', 'DashboardServicesListController@handle')-{amp}gt;middleware($c); Route::post( '/admin/services/save', 'DashboardServicesSaveController@handle')-{amp}gt;middleware($c); Route::post( '/admin/services/edit', 'DashboardServicesEditController@handle')-{amp}gt;middleware($c); Route::post( '/admin/services/delete-many', 'DashboardServicesDeleteManyController@handle')-{amp}gt;middleware($c); Route::get( '/admin/operations/business-hours', 'DashboardOperationsBusinessHoursController@handle')-{amp}gt;middleware($c); Route::post( '/admin/operations/business-hours/list', 'DashboardOperationsBusinessHoursListController@handle')-{amp}gt;middleware($c); Route::post( '/admin/operations/business-hours/save', 'DashboardOperationsBusinessHoursSaveController@handle')-{amp}gt;middleware($c); Route::post( '/admin/operations/business-hours/edit', 'DashboardOperationsBusinessHoursEditController@handle')-{amp}gt;middleware($c); Route::post( '/admin/operations/business-hours/delete-many', 'DashboardOperationsBusinessHoursDeleteManyController@handle')-{amp}gt;middleware($c); Route::get( '/admin/operations/dayoffs', 'DashboardOperationsDayoffsController@handle')-{amp}gt;middleware($c); Route::post( '/admin/operations/dayoffs/list', 'DashboardOperationsDayoffsListController@handle')-{amp}gt;middleware($c); Route::post( '/admin/operations/dayoffs/save', 'DashboardOperationsDayoffsSaveController@handle')-{amp}gt;middleware($c); Route::post( '/admin/operations/dayoffs/edit', 'DashboardOperationsDayoffsEditController@handle')-{amp}gt;middleware($c); Route::post( '/admin/operations/dayoffs/delete-many', 'DashboardOperationsDayoffsDeleteManyController@handle')-{amp}gt;middleware($c); Route::get( '/admin/operations/holidays', 'DashboardOperationsHolidaysController@handle')-{amp}gt;middleware($c); Route::post( '/admin/operations/holidays/list', 'DashboardOperationsHolidaysListController@handle')-{amp}gt;middleware($c); Route::post( '/admin/operations/holidays/save', 'DashboardOperationsHolidaysSaveController@handle')-{amp}gt;middleware($c); Route::post( '/admin/operations/holidays/edit', 'DashboardOperationsHolidaysEditController@handle')-{amp}gt;middleware($c); Route::post( '/admin/operations/holidays/delete-many', 'DashboardOperationsHolidaysDeleteManyController@handle')-{amp}gt;middleware($c); Route::get( '/admin/products', 'DashboardProductsController@handle')-{amp}gt;middleware($c); Route::post( '/admin/products/list', 'DashboardProductsListController@handle')-{amp}gt;middleware($c); Route::post( '/admin/products/save', 'DashboardProductsSaveController@handle')-{amp}gt;middleware($c); Route::post( '/admin/products/edit', 'DashboardProductsEditController@handle')-{amp}gt;middleware($c); Route::post( '/admin/products/delete-many', 'DashboardProductsDeleteManyController@handle')-{amp}gt;middleware($c); Route::get( '/admin/file-types', 'DashboardFileTypesController@handle')-{amp}gt;middleware($c); Route::post( '/admin/file-types/list', 'DashboardFileTypesListController@handle')-{amp}gt;middleware($c); Route::post( '/admin/file-types/save', 'DashboardFileTypesSaveController@handle')-{amp}gt;middleware($c); Route::post( '/admin/file-types/edit', 'DashboardFileTypesEditController@handle')-{amp}gt;middleware($c); Route::post( '/admin/file-types/delete-many', 'DashboardFileTypesDeleteManyController@handle')-{amp}gt;middleware($c); Route::get( '/admin/messages', 'DashboardMessagesController@handle')-{amp}gt;middleware($c); Route::get( '/admin/configurations', 'DashboardConfigurationsController@handle')-{amp}gt;middleware($c); Route::post( '/admin/configurations/list', 'DashboardConfigurationsListController@handle')-{amp}gt;middleware($c); Route::post( '/admin/configurations/save', 'DashboardConfigurationsSaveController@handle')-{amp}gt;middleware($c); Route::post( '/admin/configurations/edit', 'DashboardConfigurationsEditController@handle')-{amp}gt;middleware($c); Route::post( '/admin/configurations/delete-many', 'DashboardConfigurationsDeleteManyController@handle')-{amp}gt;middleware($c); Route::get( '/admin/cms/header', 'DashboardCmsNavbarsController@handle')-{amp}gt;middleware($c); Route::post( '/admin/cms/header/list', 'DashboardCmsNavbarsListController@handle')-{amp}gt;middleware($c); Route::post( '/admin/cms/header/save', 'DashboardCmsNavbarsSaveController@handle')-{amp}gt;middleware($c); Route::get( '/admin/cms/footer', 'DashboardCmsFootersController@handle')-{amp}gt;middleware($c); Route::post( '/admin/cms/footer/list', 'DashboardCmsFootersListController@handle')-{amp}gt;middleware($c); Route::post( '/admin/cms/footer/save', 'DashboardCmsFootersSaveController@handle')-{amp}gt;middleware($c); Route::post( '/admin/cms/footer/edit', 'DashboardCmsFootersEditController@handle')-{amp}gt;middleware($c); Route::post( '/admin/cms/footer/delete-many', 'DashboardCmsFootersDeleteManyController@handle')-{amp}gt;middleware($c); Route::get( '/admin/cms/sections', 'DashboardCmsSectionsController@handle')-{amp}gt;middleware($c); Route::post( '/admin/cms/sections/list', 'DashboardCmsSectionsListController@handle')-{amp}gt;middleware($c); Route::post( '/admin/cms/sections/save', 'DashboardCmsSectionsSaveController@handle')-{amp}gt;middleware($c); Route::post( '/admin/cms/sections/edit', 'DashboardCmsSectionsEditController@handle')-{amp}gt;middleware($c); Route::post( '/admin/cms/sections/delete-many', 'DashboardCmsSectionsDeleteManyController@handle')-{amp}gt;middleware($c); Route::post( '/admin/cms/sections/sort', 'DashboardCmsSectionsSortController@handle')-{amp}gt;middleware($c); Route::get( '/admin/cms/testimonials', 'DashboardCmsTestimonialsController@handle')-{amp}gt;middleware($c); Route::post( '/admin/cms/testimonials/list', 'DashboardCmsTestimonialsListController@handle')-{amp}gt;middleware($c); Route::post( '/admin/cms/testimonials/save', 'DashboardCmsTestimonialsSaveController@handle')-{amp}gt;middleware($c); Route::post( '/admin/cms/testimonials/edit', 'DashboardCmsTestimonialsEditController@handle')-{amp}gt;middleware($c); Route::post( '/admin/cms/testimonials/delete-many', 'DashboardCmsTestimonialsDeleteManyController@handle')-{amp}gt;middleware($c); Route::post( '/admin/cms/testimonials/sort', 'DashboardCmsTestimonialsSortController@handle')-{amp}gt;middleware($c); Route::get( '/admin/cms/faqs', 'DashboardCmsFaqsController@handle')-{amp}gt;middleware($c); Route::post( '/admin/cms/faqs/list', 'DashboardCmsFaqsListController@handle')-{amp}gt;middleware($c); Route::post( '/admin/cms/faqs/save', 'DashboardCmsFaqsSaveController@handle')-{amp}gt;middleware($c); Route::post( '/admin/cms/faqs/edit', 'DashboardCmsFaqsEditController@handle')-{amp}gt;middleware($c); Route::post( '/admin/cms/faqs/delete-many', 'DashboardCmsFaqsDeleteManyController@handle')-{amp}gt;middleware($c); Route::post( '/admin/cms/faqs/sort', 'DashboardCmsFaqsSortController@handle')-{amp}gt;middleware($c); Route::get( '/admin/cms/top-sliders', 'DashboardCmsTopSlidersController@handle')-{amp}gt;middleware($c); Route::post( '/admin/cms/top-sliders/list', 'DashboardCmsTopSlidersListController@handle')-{amp}gt;middleware($c); Route::post( '/admin/cms/top-sliders/save', 'DashboardCmsTopSlidersSaveController@handle')-{amp}gt;middleware($c); Route::post( '/admin/cms/top-sliders/edit', 'DashboardCmsTopSlidersEditController@handle')-{amp}gt;middleware($c); Route::post( '/admin/cms/top-sliders/delete-many', 'DashboardCmsTopSlidersDeleteManyController@handle')-{amp}gt;middleware($c); Route::post( '/admin/cms/top-sliders/sort', 'DashboardCmsTopSlidersSortController@handle')-{amp}gt;middleware($c); Route::get( '/admin/cms/external-pages', 'DashboardCmsExternalPagesController@handle')-{amp}gt;middleware($c); Route::post( '/admin/cms/external-pages/list', 'DashboardCmsExternalPagesListController@handle')-{amp}gt;middleware($c); Route::post( '/admin/cms/external-pages/save', 'DashboardCmsExternalPagesSaveController@handle')-{amp}gt;middleware($c); Route::post( '/admin/cms/external-pages/edit', 'DashboardCmsExternalPagesEditController@handle')-{amp}gt;middleware($c); Route::post( '/admin/cms/external-pages/delete-many', 'DashboardCmsExternalPagesDeleteManyController@handle')-{amp}gt;middleware($c); Route::post( '/admin/cms/external-pages/get-category', 'DashboardCmsExternalPagesGetCategoryController@handle')-{amp}gt;middleware($c); Route::get( '/admin/cms/categories', 'DashboardCmsCategoriesController@handle')-{amp}gt;middleware($c); Route::post( '/admin/cms/categories/list', 'DashboardCmsCategoriesListController@handle')-{amp}gt;middleware($c); Route::post( '/admin/cms/categories/save', 'DashboardCmsCategoriesSaveController@handle')-{amp}gt;middleware($c); Route::post( '/admin/cms/categories/edit', 'DashboardCmsCategoriesEditController@handle')-{amp}gt;middleware($c); Route::post( '/admin/cms/categories/delete-many', 'DashboardCmsCategoriesDeleteManyController@handle')-{amp}gt;middleware($c); /*Auth::routes(); Route::get('/home', 'HomeController@index')-{amp}gt;name('home');*/