--- trunk/lib/Frey/Server.pm 2008/10/30 22:34:40 205 +++ trunk/lib/Frey/Server.pm 2008/10/31 23:07:46 220 @@ -58,7 +58,7 @@ my ($req) = @_; my $path = $req->request->url->path; - warn "REQUEST: $path ",dump( $req->params ),"\n"; + #warn "REQUEST: $path ",dump( $req->params ); Module::Reload->check if $path =~ m!reload! || $req->param('reload'); @@ -75,12 +75,12 @@ $f = Frey::ObjectBrowser->new( fey_class => $1 ); } elsif ( $path =~ m!/od/([^/]+)(.*)! ) { $f = Frey::ObjectDesigner->new( fey_class => $1 ); - } elsif ( $path =~ m!/(markup|html)/([^/]+)(.*)! ) { + } elsif ( $path =~ m!/(markup|request)/([^/]+)(.*)! ) { $f = Frey::Run->new( class => $2 ); } else { - $f = Frey::ClassBrowser->new; + $f = Frey::Run->new( class => 'Frey::ClassBrowser' ); } - $f->html( $req ) if $f; + $f->request( $req ) if $f; }; @@ -88,7 +88,7 @@ if ( $@ ) { warn $@; - #$req->conn->send_error( 404 ); # FIXME this should probably be 500, but we can't ship page with it + $req->conn->send_error( 404 ); # FIXME this should probably be 500, but we can't ship page with it $req->print( qq{
$@
} );
 #		Carp::REPL::repl;