diff --git a/src/en/guide/theWebLayer/urlmappings.gdoc b/src/en/guide/theWebLayer/urlmappings.gdoc index 9139b666abb..a5b49192a60 100644 --- a/src/en/guide/theWebLayer/urlmappings.gdoc +++ b/src/en/guide/theWebLayer/urlmappings.gdoc @@ -1,4 +1,4 @@ -Throughout the documentation so far the convention used for URLs has been the default of @/controller/action/id@. However, this convention is not hard wired into Grails and is in fact controlled by a URL Mappings class located at @grails-app/conf/UrlMappings.groovy@. +Throughout the documentation so far the convention used for URLs has been the default of @/controller/action/id@. However, this convention is not hard wired into Grails and is in fact controlled by a URL Mappings class located at @grails-app/controllers/UrlMappings.groovy@. The @UrlMappings@ class contains a single property called @mappings@ that has been assigned a block of code: diff --git a/src/en/guide/theWebLayer/urlmappings/namespacedControllers.gdoc b/src/en/guide/theWebLayer/urlmappings/namespacedControllers.gdoc index 060d33c5dd9..bfd48506571 100644 --- a/src/en/guide/theWebLayer/urlmappings/namespacedControllers.gdoc +++ b/src/en/guide/theWebLayer/urlmappings/namespacedControllers.gdoc @@ -32,7 +32,7 @@ When defining url mappings which should be associated with a namespaced controller, the @namespace@ variable needs to be part of the URL mapping. {code} -// grails-app/conf/UrlMappings.groovy +// grails-app/controllers/UrlMappings.groovy class UrlMappings { static mappings = {