Changing ubiquo plugin routes
Hi all,
Today I needed to create an Ubiquo based project with something special. This project is just an ubiquo project, without public part. So, I wished to move the /ubiquo routes to / .
This is the original code provided by the ubiquo generator:
This generates the typical Ubiquo routes, everithing inside /ubiquo. To remove that, or to change to /admin, just do that:
If :path_prefix is nil then all the routes provided by the plugins will be located in /, If you need to move to /admin, replace nil with "admin" or whatever you need.
That's all, I hope it helps you.
Posted by Albert Callarisa Roca