Ask, reply and learn. Join the community of Akaunting.
Hi. A couple of months ago I wrote a small module.
After updating the system to version 2.1.10 a couple of hours ago the routes leading to my module started returning a 500 Internal Server Error.
While debugging, I noticed that the URL pattern had changed. Newly the company ID seems to be added to the URL.
I'm also using the "Employee" Module available in your App Store. After its update its URLs now also contain the company ID.
So my question is how can I update my module in order to include the company to the URLs while setting the routes?
Greetings Patrick M.
I found the solution to the problem.
In ./modules/__MODULE__/Routes/admin.php
`Route::admin` should be used instead of `Route::group` .
Hello Patrick,
Yes, you should use the new route macros: admin, portal, signed.
Regards
Showing 1 to 3 of 3 discussions