用于连字符URL的Grails 3.0 application.yml配置

用于连字符URL的Grails 3.0 application.yml配置,grails,grails-3.0,Grails,Grails 3.0,如何在新的Grails3.0application.yml文件中配置连字符URL 以下配置似乎没有粘滞: grails-app/config/application.yml grails: web: url: converter: "hyphenated" 我的测试控制器是: grails应用程序/controllers/BookAuthorsController.groovy class BookAuthorsController { def in

如何在新的Grails3.0
application.yml
文件中配置连字符URL

以下配置似乎没有粘滞:

grails-app/config/application.yml

grails:
   web:
      url:
         converter: "hyphenated"
我的测试控制器是:

grails应用程序/controllers/BookAuthorsController.groovy

class BookAuthorsController {

   def index() {
   }

}
视图位于:
grails应用程序/views/bookAuthors/index.gsp

此页面(带有不需要的驼峰案例URL)显示OK:

应显示此页面,但会导致页面未找到(404)错误:

作为参考,旧的
grails.web.url.converter=“hyphenated”
配置记录在可自定义url格式部分:请在提交错误报告,我们会解决它。谢谢。问题提交: