Hello, I need call in routes page (register page) before login in the system example:
Route::controller('', 'AgentController@getNewAgent');
any help
If I understand, you want open some pages when user is not logged yet. Try this:
Route::group(array('before' => 'auth'), function()
{
//put here all routes that needs login
});
//put here the other routes that you want access before the user is logged.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community