# Is it possible to load only required routes?

**URL:** <https://discourse.slimframework.com/t/is-it-possible-to-load-only-required-routes/2680>\
**Category:** Questions\
**Created:** [September 20, 2018, 4:50pm UTC](https://discourse.slimframework.com/t/is-it-possible-to-load-only-required-routes/2680 "2018-09-20T16:50:49Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![marcelloh](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.slimframework.com/marcelloh/32/404_2.png) [@marcelloh](https://discourse.slimframework.com/u/marcelloh)\
**Post date:** [October 14, 2018, 8:33am UTC](https://discourse.slimframework.com/t/is-it-possible-to-load-only-required-routes/2680/10 "2018-10-14T08:33:25Z")

</div>

Just to give you an idea how it can work.

> [@Automatic Routing (attempt 2)](https://discourse.slimframework.com/t/automatic-routing-attempt-2/1571):
>
> Just to check if I have something worth using & sharing slight_smile All routing goes to the corresponding controllers which reside in Modules. Modules – Front ---- MainController ---- AnotherFrontController – Admin ---- AdminController ---- UserController So if you call /admin/user/list if will auto-magically go to the edit function within the UserController routes.php: \<?php /\*\* \* All the routes to their corresponding controllers \* \* The first param is the start of the url \* …

---

_[View the full topic](https://discourse.slimframework.com/t/is-it-possible-to-load-only-required-routes/2680)._
