Я начинаю новый проект Laravel, я определил один маршрут, и это мой routes.php файлLaravel маршрут NotFoundHttpException
<?php
/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the Closure to execute when that URI is requested.
|
*/
Route::get('signup', function()
{
return View::make('signup');
});
Route::get('/', function()
{
return View::make('welcome');
});
при попытке загрузить страницу http://localhost/laravel-project/public/signup
я получаю HttpNotFoundException я бегу ремесленника маршруты и регистрация маршрута. Как я могу решить эту проблему?
Вы создали свой 'signup.blade.php' в папке' views'? –
, если мы не получим от вас больше информации. Тогда мы никуда не пойдем. Начните с проверки 'http: // localhost/laravel-project/public/index.php/signup', возможно, вы неправильно настроили' htaccess'. – majidarif
Я создал signup.blade.php под папкой просмотра –