Skip to content

Commit dd78ba1

Browse files
author
graeme
committed
fix for GRAILS-2462
git-svn-id: https://svn.codehaus.org/grails/trunk@6705 1cfb16fd-6d17-0410-8ff1-b7e8e1e2867d
1 parent 16bc236 commit dd78ba1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/groovy/org/codehaus/groovy/grails/plugins/web/ControllersGrailsPlugin.groovy

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,8 @@ class ControllersGrailsPlugin {
179179
def grailsEnv = GrailsUtil.getEnvironment()
180180

181181
def mappingElement = webXml.'servlet-mapping'
182+
mappingElement = mappingElement[mappingElement.size()-1]
183+
182184
mappingElement + {
183185
'servlet-mapping' {
184186
'servlet-name'("grails")

0 commit comments

Comments
 (0)