Permalink
Browse files

->to_app in README

  • Loading branch information...
1 parent 1f7df60 commit 53ffe519ed57e9283c74e91b92765510d31964a0 Zbigniew Lukasiak committed Nov 5, 2011
Showing with 4 additions and 2 deletions.
  1. +4 −2 README.pod
View
6 README.pod
@@ -161,11 +161,13 @@ version 0.001
}
+ use Plack::Builder;
+
my $app = My::ResetPass->new;
- my $mounted_app = builder {
+ builder {
mount "/forgotten_pass" => builder {
- sub{ $app->call( shift ) };
+ $app->to_app;
};
};

0 comments on commit 53ffe51

Please sign in to comment.