grails で URL を作成する標準的な方法は次のとおりです。
<a href="${createLink(controller:'news', action: 'show', params: [id: news.id])}">${news.title}</a>
URLを生成します:/news/show/102
次のようなより SEO に適した URL が必要です。
/news/102/this-is-the-hottest-news-today
Grailsでこれを行う最もクリーンな方法は何ですか? grails URLMapping を使用して にマップできます/news/show/102
が/news/102
、上記のように完全な URL を作成するにはどうすればよいですか?