I am a novice in web developing with Laravel 5. I installed asGgardCMS and After seeing asgardCms codes, I found that there is nothing codes in app/Http/route.php file and r
You can use Request::is() so your main routes.php file will look like this:
Request::is()
routes.php
if(Request::is('frontend/*)) { require __DIR__.'/frontend_routes.php; } if(Request::is('admin/*)) { require __DIR__.'/admin_routes.php; }
You can read more here.