Permalink
Browse files

Added workaround for #48

  • Loading branch information...
1 parent e4826a5 commit fbeb1c9002aea52b6c307fbe09a1e1bde3d4a154 @chkal chkal committed May 13, 2012
@@ -39,7 +39,7 @@ public Configuration getConfiguration(final ServletContext context)
* Time based access control (only grants access during the first half of each minute)
*/
.addRule(Join.path("/{global}").to("/{global}.xhtml")
- .when(JodaTime.matches(timeGranted))
+ .when(JodaTime.matches(timeGranted).and(DispatchType.isRequest()))
.withInboundCorrection())
/*

0 comments on commit fbeb1c9

Please sign in to comment.