aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2020-11-01 21:01:48 +0100
committerMateja <mail@matejamaric.com>2020-11-01 21:01:48 +0100
commit7be0873705684a5054a1334eccd774c91ec7e824 (patch)
treed7dbbbdfc9e11aeedb7d468ff71a1bdd7e6774c8
parent8fee1d776d8f2f538968b1d761dfbbfd3e52ae27 (diff)
downloadyota-laravel-7be0873705684a5054a1334eccd774c91ec7e824.tar.gz
yota-laravel-7be0873705684a5054a1334eccd774c91ec7e824.zip
Problem fixed!
-rw-r--r--public/js/app.js4
-rw-r--r--resources/views/pages/editsign.blade.php2
-rw-r--r--routes/web.php19
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') }}
</div>
@endif
- <form action="{{ route('editForm', 1) }}" method="POST">
+ <form action="{{ route('editForm', request()->route()->parameter('id')) }}" method="POST">
@csrf
<div class="form-group">
<label for="Sign">Special Callsign:</label>
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');