Replies: 1 comment
-
looks to be a manual approach, the default location is // Register routes from actions in "app/Actions" (default).
Actions::registerRoutes();
// Register routes from actions in "app/MyCustomActionsFolder".
Actions::registerRoutes('app/MyCustomActionsFolder');
// Register routes from actions in multiple folders.
Actions::registerRoutes([
'app/Authentication',
'app/Billing',
'app/TeamManagement',
]); You may need to loop over all active modules and set their path |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey guys,
How could I go about including the laravelactions Classes automatically?
In their documentation, you can just add Actions::registerRoutes(); and it auto detects the routes.
But doing this doesn't seem to work with the modules?
Unless I have to set something up to change the way the modules are scanned?
Any ideas would be nice?
Beta Was this translation helpful? Give feedback.
All reactions