Wenn ich einen Beitrag zu speichern Ich erhalte diesen FehlerMethodNotAllowedHttpException in RouteCollection.php Linie 219
MethodNotAllowedHttpException in RouteCollection.php line 219:
Was dieses Problem verursachen kann ??
routes.php:
Route::get('home', '[email protected]');
Route::get('/', '[email protected]');
Route::get('index', '[email protected]');
Route::get('posts', '[email protected]');
Route::get('post/{slug}/{id}', '[email protected]');
Route::get('posts/sukurti-nauja-straipsni', '[email protected]');
Route::patch('posts/store-new-post', '[email protected]');
Route::get('post/{slug}/{id}/edit', '[email protected]');
Route::patch('posts/{slug}', '[email protected]');
Route::get('tags/{tags}', '[email protected]');
Route::get('categories/{categories}', '[email protected]');
// Authentication routes...
Route::get('auth/login', 'Auth\[email protected]');
Route::post('auth/login', 'Auth\[email protected]');
Route::get('auth/logout', 'Auth\[email protected]');
// Registration routes...
Route::get('auth/register', 'Auth\[email protected]');
Route::post('auth/register', 'Auth\[email protected]');
Ich verwende Laravel 5.1 und ich kann dies für einen Tag nicht herausfinden ..
Dies geschieht, wenn Sie etwas per Post senden und zu versuchen, sie zu holen, indem zu erhalten oder umgekehrt. – patricio