/[Frey]/trunk/lib/Strix/View.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/lib/Strix/View.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 38 by dpavlin, Mon Jun 30 20:02:08 2008 UTC revision 39 by dpavlin, Mon Jun 30 20:02:10 2008 UTC
# Line 20  Strix::View - examine Strix data Line 20  Strix::View - examine Strix data
20  =cut  =cut
21    
22  use Strix::User;  use Strix::User;
23    use Frey::HTML;
24    
25  my @callbacks;  my @callbacks;
26    
# Line 56  template 'user' => sub { Line 57  template 'user' => sub {
57                          $req->conn->send_status_line( 404, "user $id" );                          $req->conn->send_status_line( 404, "user $id" );
58                          $req->print( "Can't find user with id $id\n$@" );                          $req->print( "Can't find user with id $id\n$@" );
59                  } else {                  } else {
60  #                       $req->print( show( 'show-user', $req, $user ) );                          $req->print( Frey::HTML->page( 'show-user', $req, $user ) );
61                          $req->print( '<pre>' . dump( $user ) . '</pre>' );  #                       $req->print( '<pre>' . dump( $user ) . '</pre>' );
62                  };                  };
63    
64                  @callbacks = ();                  @callbacks = ();

Legend:
Removed from v.38  
changed lines
  Added in v.39

  ViewVC Help
Powered by ViewVC 1.1.26