Quick question that I am sure someone can answer in about 2 seconds.
I have a Laravel project set up and one of the subdirectories is set up for documentation.
I have the following code set up.
Route::group(['prefix' => 'docs'], function(){
route::get('/', function(){
return redirect('docs.intro');
});
Route::get('/intro', ['as' => 'docs.intro', function(){ return view('docs.intro'); }]);
});
When I navigate to "http://ift.tt/1X6KeiD" all works fine. However, when I navigate to "www.site.com/docs/" it does not redirect like I was hoping, instead is throws a 403 "forbidden" error. Does anyone know why this is? How can I make this work properly?
Thanks!
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire