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

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

revision 21 by dpavlin, Tue Dec 5 15:08:46 2006 UTC revision 22 by dpavlin, Thu Dec 7 10:04:58 2006 UTC
# Line 8  use Jifty::Dispatcher -base; Line 8  use Jifty::Dispatcher -base;
8    
9  use Data::Dump qw/dump/;  use Data::Dump qw/dump/;
10    
11  on '/' => run {  under '' => [
         show '/list';  
12    
13  };          on qr{author/([^/]+)} => run {
14                    set author => $1;
15            },
16    
17            on qr{actions} => run {
18                    set show_actions => 1;
19            },
20    
21            on qr{page/(\d+)} => run {
22                    set on_page => $1;
23            },
24    
25            on qr{from/([^/]+)} => run {
26                    set from_date => $1;
27            },
28    
29            on qr{to/([^/]+)} => run {
30                    set to_date => $1;
31            },
32    
33            run {
34                    show '/list';
35            },
36    
37    ];
38    
39  1;  1;

Legend:
Removed from v.21  
changed lines
  Added in v.22

  ViewVC Help
Powered by ViewVC 1.1.26