How to call controller function using the url?

set this In app/routes.php

Route::get('login', array('uses' => 'AuthController@getLogin'));

 

Advertisements