From 7be0873705684a5054a1334eccd774c91ec7e824 Mon Sep 17 00:00:00 2001 From: Mateja Date: Sun, 1 Nov 2020 21:01:48 +0100 Subject: Problem fixed! --- public/js/app.js | 4 ++-- resources/views/pages/editsign.blade.php | 2 +- routes/web.php | 19 ------------------- 3 files changed, 3 insertions(+), 22 deletions(-) diff --git a/public/js/app.js b/public/js/app.js index 99629fa..e97cd49 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -19384,8 +19384,8 @@ window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest'; /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { -__webpack_require__(/*! /var/www/laptop.com/mylaravelapp/resources/js/app.js */"./resources/js/app.js"); -module.exports = __webpack_require__(/*! /var/www/laptop.com/mylaravelapp/resources/css/app.css */"./resources/css/app.css"); +__webpack_require__(/*! /srv/http/laravel.komp.com/resources/js/app.js */"./resources/js/app.js"); +module.exports = __webpack_require__(/*! /srv/http/laravel.komp.com/resources/css/app.css */"./resources/css/app.css"); /***/ }) diff --git a/resources/views/pages/editsign.blade.php b/resources/views/pages/editsign.blade.php index 9f1f5ee..305bcee 100644 --- a/resources/views/pages/editsign.blade.php +++ b/resources/views/pages/editsign.blade.php @@ -11,7 +11,7 @@ {{ session('status') }} @endif -
+ @csrf
diff --git a/routes/web.php b/routes/web.php index 1f9f47f..d5f0ae3 100644 --- a/routes/web.php +++ b/routes/web.php @@ -15,22 +15,6 @@ use App\Http\Controllers\SpecialCallsController; | */ -//Route::get('/', function () { - //return view('welcome'); -//}); - -//Route::get('/hello', function () { - //return "Hello World!"; -//}); - -//Route::get('/hello/{id}/{name}', function ($id, $name) { - //return "#$id: Hello $name!"; -//}); - -//Route::get('/about', function () { - //return view('about'); -//}); - Route::get('/', [PagesController::class, 'index'])->name('home'); Route::get('/news', [PagesController::class, 'news'])->name('news'); Route::get('/gallery', [PagesController::class, 'gallery'])->name('gallery'); @@ -61,6 +45,3 @@ Route::post('/special-calls/reservations', [SpecialCallsController::class, 'rese Route::get('/login', [PagesController::class, 'login'])->name('login'); Route::post('/login', [PagesController::class, 'loginForm'])->name('loginForm'); Route::get('/logout', [PagesController::class, 'logout'])->name('logout'); - -//Route::get('/about', [PagesController::class, 'about'])->name('about'); -//Route::get('/about', 'App\Http\Controllers\PagesController@about'); -- cgit v1.2.3