Skip to content

Commit 3e5036b

Browse files
author
graeme
committed
fix for GRAILS-682
git-svn-id: https://svn.codehaus.org/grails/trunk@2973 1cfb16fd-6d17-0410-8ff1-b7e8e1e2867d
1 parent 00c3999 commit 3e5036b

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

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

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -177,13 +177,14 @@ class ControllersGrailsPlugin {
177177
'filter-name'('reloadFilter')
178178
'filter-class'('org.codehaus.groovy.grails.web.servlet.filter.GrailsReloadServletFilter')
179179
}
180-
}
180+
}
181+
}
182+
lastFilterMapping + {
181183
'filter-mapping' {
182184
'filter-name'('grailsWebRequest')
183185
'url-pattern'("/*")
184-
}
185-
186-
}
186+
}
187+
}
187188
// if we're in development environment first add a the reload filter
188189
// to the web.xml by finding the last filter and appending it after
189190
if(grailsEnv == "development") {
@@ -210,7 +211,7 @@ class ControllersGrailsPlugin {
210211
'param-value'(1)
211212
}
212213
}
213-
}
214+
}
214215

215216
}
216217

0 commit comments

Comments
 (0)