change filter_response to response_filter in the places I got it wrong
[catagits/Web-Simple.git] / examples / bloggery / bloggery.cgi
index 2a05045..947180f 100755 (executable)
@@ -86,7 +86,7 @@ sub post {
 
 dispatch [
   sub (.html) {
-    filter_response { $self->render_html($_[1]) },
+    response_filter { $self->render_html($_[1]) },
   },
   sub (GET + /) {
     redispatch_to '/index.html';