Permalink
Browse files

Update gitalist_app.psgi with working copy.

As t0m added and I've now put into place.
  • Loading branch information...
1 parent df06d2a commit f38705da4f7344abc46549e3581c37c17639addb @broquaint committed Apr 1, 2013
Showing with 2 additions and 13 deletions.
  1. +0 −8 gitalist.psgi
  2. +2 −5 script/gitalist_app.psgi
View
@@ -1,8 +0,0 @@
-use strict;
-use warnings;
-
-use Gitalist;
-
-my $app = Gitalist->apply_default_middlewares(Gitalist->psgi_app);
-$app;
-
View
@@ -11,9 +11,6 @@ BEGIN {
}
use Gitalist;
-use Plack::Builder;
-Gitalist->setup_engine('PSGI');
-my $app = sub { Gitalist->run(@_) };
-
-builder { $app };
+my $app = Gitalist->apply_default_middlewares(Gitalist->psgi_app);
+$app;

0 comments on commit f38705d

Please sign in to comment.