I am trying to configure a route in my config/routes.js file as shown below
'*' : {
controller: 'CustomRoutes',
action: 'any',
skipAssets:true
}
The CustomRoutes
controller is responsible for handling custom routes. The any
action simply serves up a static html page.
However, this configuration ends up overriding my blueprint routes. Is there a way to make sure this particular route does not interfere with the blueprint routes (similar to the skipAssets
property)? Alternatively, can I prioritize the blueprint routes over the routes defined in config/routes.js
?
I would like to avoid using a prefix in config/blueprints.js
, as it would require modifying all my client-side code to accommodate the prefix.