/[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 5 by dpavlin, Tue Dec 5 15:08:46 2006 UTC revision 23 by dpavlin, Thu Dec 7 10:07:22 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 per_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            on qr{search/([^/]+)} => run {
34                    set search => $1;
35            },
36    
37            run {
38                    show '/list';
39            },
40    
41    ];
42    
43  1;  1;

Legend:
Removed from v.5  
changed lines
  Added in v.23

  ViewVC Help
Powered by ViewVC 1.1.26