File tree Expand file tree Collapse file tree
modules/jooby-rocker/src/main/java/io/jooby/rocker Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,10 +67,10 @@ NOTE: Complete code generator options are https://github.com/fizzed/rocker#integ
6767.Java
6868[source, java, role="primary"]
6969----
70- import io.jooby.rocker.Rockerby ;
70+ import io.jooby.rocker.RockerModule ;
7171
7272{
73- install(new Rockerby ()); <1>
73+ install(new RockerModule ()); <1>
7474
7575 get("/", ctx -> {
7676 return views.index.template("Rocker"); <2>
@@ -81,10 +81,10 @@ import io.jooby.rocker.Rockerby;
8181.Kotlin
8282[source, kt, role="secondary"]
8383----
84- import io.jooby.rocker.Rockerby
84+ import io.jooby.rocker.RockerModule
8585
8686{
87- install(Rockerby ()) <1>
87+ install(RockerModule ()) <1>
8888
8989 get("/") {
9090 views.index.template("Rocker") <2>
Original file line number Diff line number Diff line change 1919 * @author edgar
2020 * @since 2.0.0
2121 */
22- public class Rockerby implements Extension {
22+ public class RockerModule implements Extension {
2323
2424 private Boolean reloading ;
2525
@@ -29,7 +29,7 @@ public class Rockerby implements Extension {
2929 * @param reloading True for turning on.
3030 * @return This module.
3131 */
32- public @ Nonnull Rockerby reloading (boolean reloading ) {
32+ public @ Nonnull RockerModule reloading (boolean reloading ) {
3333 this .reloading = reloading ;
3434 return this ;
3535 }
You can’t perform that action at this time.
0 commit comments