mirror of https://github.com/reiseburo/offtopic
Minor API changes between the last version of ratpack 0.9 and 0.9.19
This commit is contained in:
parent
a09866ce3f
commit
4b5de1c70a
|
@ -15,9 +15,10 @@ ratpack {
|
|||
bindings {
|
||||
offtopic.Configuration.instance.loadDefaults()
|
||||
offtopic.curator.CuratorPool.prepare(Configuration.instance.zookeepers)
|
||||
add new HandlebarsModule()
|
||||
add new JacksonModule()
|
||||
module HandlebarsModule
|
||||
module JacksonModule
|
||||
}
|
||||
|
||||
handlers {
|
||||
get {
|
||||
render handlebarsTemplate('index.html')
|
||||
|
@ -91,7 +92,7 @@ ratpack {
|
|||
}
|
||||
}
|
||||
|
||||
assets 'public'
|
||||
fileSystem "public", { f -> f.files() }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue