I am using laravel
framework. I've setup couple of routes
that take a parameter like example.com/route/{dir_name}
. When I pass in a dir which has childrens it considers it as another route. Is there a way to bypass it?
I'm using this code:
Route::get('/route/something/{path}',array('as'=>'something',function($path){
return $path;
}));
When I use /route/something/home/user/dev
it throws a Symfony\Component\HttpKernel\ Exception\NotFoundHttpException
exception.