![]() |
Agree with @InsiteFX - you may define the routes yourself within the module using config/Routes.php. It isn't "magic" routing for the developer (though you can create them in bulk with wildcards or resource routes) but for the user including the module they shouldn't need to do anything.
Here's an example from one of my modules that, when installed, will instantly make https://example.com/workflows (among others) available on the site: https://github.com/tattersoftware/codeig...Routes.php |
Messages In This Thread |
Magic routing for modules - by Fred9176 - 07-24-2019, 08:32 AM
RE: Magic routing for modules - by albertleao - 07-24-2019, 11:32 AM
RE: Magic routing for modules - by InsiteFX - 07-24-2019, 05:19 PM
RE: Magic routing for modules - by suraj@codegniter - 04-29-2021, 12:35 PM
RE: Magic routing for modules - by MGatner - 07-25-2019, 06:48 AM
RE: Magic routing for modules - by paliz - 06-09-2021, 10:59 PM
RE: Magic routing for modules - by UC_SUJITH - 07-02-2022, 07:05 AM
RE: Magic routing for modules - by kenjis - 07-03-2022, 12:10 AM
RE: Magic routing for modules - by InsiteFX - 07-02-2022, 11:33 PM
RE: Magic routing for modules - by kenjis - 04-16-2023, 05:40 AM
RE: Magic routing for modules - by InsiteFX - 04-16-2023, 11:03 PM
RE: Magic routing for modules - by mywebmanavgat - 12-17-2023, 01:58 AM
RE: Magic routing for modules - by kenjis - 12-17-2023, 04:04 AM
|