/[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 32 by dpavlin, Thu Dec 7 19:56:41 2006 UTC revision 33 by dpavlin, Sat Dec 9 01:15:02 2006 UTC
# Line 7  use Jifty::Dispatcher -base; Line 7  use Jifty::Dispatcher -base;
7    
8  use Data::Dump qw/dump/;  use Data::Dump qw/dump/;
9    
10    before '*' => run {
11            my $top = Jifty->web->navigation;
12            my $edit = Jifty->config->app('edit');
13            $top->child( 'New' => url => '/new' ) if ($edit);
14            $top->child( 'List' => url => '/list' );
15    };
16    
17    
18    
19  under qr{sql/(\d+)} => run {  under qr{sql/(\d+)} => run {
20    
21          my $q = SQLSession::Model::Query->new();          my $q = SQLSession::Model::Query->new();

Legend:
Removed from v.32  
changed lines
  Added in v.33

  ViewVC Help
Powered by ViewVC 1.1.26