/[Grep]/lib/Grep/Dispatcher.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 /lib/Grep/Dispatcher.pm

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

revision 106 by dpavlin, Tue Mar 6 16:17:19 2007 UTC revision 107 by dpavlin, Tue Mar 6 23:00:32 2007 UTC
# Line 17  before '*' => run { Line 17  before '*' => run {
17                  $top->child( 'Search' => url => '/search' );                  $top->child( 'Search' => url => '/search' );
18                  $top->child( 'Add feed' => url => '/add' );                  $top->child( 'Add feed' => url => '/add' );
19                  $top->child( 'Fetch new results' => url => '/fetch' );                  $top->child( 'Fetch new results' => url => '/fetch' );
20                  my $acc = $top->child( $user->email => url => '/user' );                  my $acc = $top->child( 'Logout' => url => '/logout' );
21                  $acc->child( 'Change password' => url => '/chgpasswd' );                  $acc->child( 'Change password' => url => '/chgpasswd' );
                 $acc->child( 'Logout' => url => '/logout' );  
22    
23          } else {          } else {
24                  my $acc = $top->child( 'Login' => url => '/login' );                  my $acc = $top->child( 'Login' => url => '/login' );
# Line 30  before '*' => run { Line 29  before '*' => run {
29    
30  };  };
31    
32    on '/' => run {
33            show '/user' if Jifty->web->current_user->id;
34    };
35    
36  1;  1;

Legend:
Removed from v.106  
changed lines
  Added in v.107

  ViewVC Help
Powered by ViewVC 1.1.26