Hey, i am quite new into laravel. I saw this in documentation to force a URL serve over https
Route::get('foo', array('https', function()
{
return 'Must be over HTTPS';
}));
thing is how to point it to a controller? Not using closure
Untested:
Route::get('foo', array(
'https',
'uses' => 'FooController@getIndex'
));
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community