Minor API changes between the last version of ratpack 0.9 and 0.9.19

This commit is contained in:
R. Tyler Croy 2015-09-02 05:49:28 -07:00
parent a09866ce3f
commit 4b5de1c70a
No known key found for this signature in database
GPG Key ID: 1426C7DC3F51E16F
1 changed files with 4 additions and 3 deletions

View File

@ -15,9 +15,10 @@ ratpack {
bindings { bindings {
offtopic.Configuration.instance.loadDefaults() offtopic.Configuration.instance.loadDefaults()
offtopic.curator.CuratorPool.prepare(Configuration.instance.zookeepers) offtopic.curator.CuratorPool.prepare(Configuration.instance.zookeepers)
add new HandlebarsModule() module HandlebarsModule
add new JacksonModule() module JacksonModule
} }
handlers { handlers {
get { get {
render handlebarsTemplate('index.html') render handlebarsTemplate('index.html')
@ -91,7 +92,7 @@ ratpack {
} }
} }
assets 'public' fileSystem "public", { f -> f.files() }
} }
} }