Grails 2.5.6. I have a controller/action reachabl...
# questions
n
Grails 2.5.6. I have a controller/action reachable through two different urls (
/controller/action
and
POST /api/…myThings)
. Is it 1) possible 2) reasonable to force calls that come through
api/..
to always render json? right now, I rely on the Accept header to render json or html. Maybe something in the UrlMappings