Browse files

modified for plackup

  • Loading branch information...
1 parent 0c17cdf commit 2408a53c5a8388bb8cfdec0feb1dae9154f48e91 @dann committed Dec 2, 2009
Showing with 4 additions and 3 deletions.
  1. +4 −2 angelos-core/lib/Angelos.pm
  2. +0 −1 angelos-core/lib/Angelos/Engine/Base.pm
View
6 angelos-core/lib/Angelos.pm
@@ -289,8 +289,10 @@ sub res {
shift->response;
}
-sub psgi_adapter {
- '+Angelos::PSGI::Adapter';
+sub psgi_handler {
+ my $self = shift;
+ die 'you need to create instanse before you get psgi_handler' unless $self->engine;
+ $self->engine->engine->psgi_handler;
}
__END_OF_CLASS__
View
1 angelos-core/lib/Angelos/Engine/Base.pm
@@ -2,7 +2,6 @@ package Angelos::Engine::Base;
use Angelos::Class;
use Carp ();
use Angelos::Exceptions;
-use Angelos::PSGI::Engine;
use Angelos::Request;
use PlackX::Engine;

0 comments on commit 2408a53

Please sign in to comment.