I just install laravel environment, I got some problem with url, I do not understand about it. here it index.php that run on first.
<a href="pass">pass to page</a>
when I click the pass to page link it maybe go to page that I link to. but it was 404 not found . here is routes.php in app directory
Route::get('/', 'HomeController@showWelcome');
Route::get('pass', 'PassController@passToPage');
and here is function in PassController
public function passToPage()
{
return View::make('pass');
}
I note that I use only '\'(default directory), I cannot use other directory. thank in advance I am in new laravel.