Grails 3.0 application.yml configuration for hyphenated URLs -
how configure hyphenated urls in new grails 3.0 application.yml
file?
the following configuration not seem sticking:
grails-app/config/application.yml
grails: web: url: converter: "hyphenated"
my test controller is:
grails-app/controllers/bookauthorscontroller.groovy
class bookauthorscontroller { def index() { } }
and view at:
grails-app/views/bookauthors/index.gsp
this page (with undesirable camel case url) displays ok:
http://localhost:8080/bookauthors
this page should display results in page not found (404) error:
http://localhost:8080/book-authors