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


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -