Skip to content

Commit 9378e86

Browse files
committed
Edited README.md via GitHub
1 parent 30b1542 commit 9378e86

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ Get Started
4949
public Configuration getConfiguration(final ServletContext context)
5050
{
5151
return ConfigurationBuilder.begin()
52-
.addRule()
53-
.setCondition(Direction.isInbound().and(Path.matches("/some/page/.*/")))
54-
.setOperation(Forward.to("/new-page/"));
52+
.defineRule()
53+
.when(Direction.isInbound().and(Path.matches("/some/page/.*/")))
54+
.perform(Forward.to("/new-page/"));
5555
}
5656
}
5757

0 commit comments

Comments
 (0)