Grails プラグインを作成していますが、独自の UrlMappings を追加したいと考えています。プラグイン ソース内のUrlMappings.groovy
ファイルは、プラグインを使用するアプリケーションによって無視されるため、これらはどこで定義する必要がありますか?
2452 次
1 に答える
13
http://grails.org/doc/latest/guide/single.html#pluginsを参照してください:Notes on excluded Artefacts
In addition, although UrlMappings.groovy is excluded
you are allowed to include a UrlMappings definition with
a different name, such as MyPluginUrlMappings.groovy.
于 2011-12-23T17:09:37.783 に答える