I have a single page web application, grails url mapping contains
"/**"(view: "/index")
as well as few routes that start with /api/* The problem happens when I'm trying to access /dbconsole that comes with a plugin. This would still be served through the first mapping. I tried to exclude dbconsole like this
"/$ember?"(view: "/index", constraints {ember(notEqual: 'dbconsole')})
But it always throws an exception.
grails.dbconsole.enabled
if we're talking about the development environment)? – Gregor Petrinconstraints
:constraints: {ember(notEqual: 'dbconsole')}
, the error you're getting is due to bad syntax. – Gregor Petrin