Skip to content

Commit 1972cf7

Browse files
authored
Merge pull request #507 from gsartori/7.0.x
BootStrap servletContext refactoring
2 parents 6c00aee + dcba1c3 commit 1972cf7

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

grails-forge-core/src/main/java/org/grails/forge/feature/lang/groovy/bootStrap.rocker.raw

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,16 @@
44

55
package @project.getPackageName()
66

7+
import jakarta.servlet.ServletContext
8+
79
class BootStrap {
810

9-
def init = { servletContext ->
11+
ServletContext servletContext
12+
13+
def init = {
1014
}
15+
1116
def destroy = {
1217
}
18+
1319
}

0 commit comments

Comments
 (0)