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

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

revision 102 by dpavlin, Fri Feb 16 23:40:21 2007 UTC revision 108 by dpavlin, Sun Apr 1 12:52:28 2007 UTC
# Line 29  before '*' => run { Line 29  before '*' => run {
29          } else {          } else {
30                  $top->child( 'Login' => url => '/login' );                  $top->child( 'Login' => url => '/login' );
31                  $top->child( 'Signup' => url => '/signup' );                  $top->child( 'Signup' => url => '/signup' );
32                    $top->child( 'Password reminder' => url => '/passwordreminder' );
33          }          }
34    
35          if ( Jifty->web->current_user->role( 'admin' ) ) {          if ( Jifty->web->current_user->role( 'admin' ) ) {
# Line 70  on 'new' => run { Line 71  on 'new' => run {
71          show '/sql';          show '/sql';
72  };  };
73    
74  on '/' => run {  on '/' => redirect '/list';
         redirect '/list';  
 };  
75    
76  on qr{^/feed/(atom|rss|rss2)}, run {  on qr{^/feed/(atom|rss|rss2)}, run {
77          my $type = 'RSS';          my $type = 'RSS';

Legend:
Removed from v.102  
changed lines
  Added in v.108

  ViewVC Help
Powered by ViewVC 1.1.26