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

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

revision 23 by dpavlin, Fri Nov 30 23:23:14 2007 UTC revision 51 by dpavlin, Sun Apr 6 18:31:14 2008 UTC
# Line 15  before '*' => run { Line 15  before '*' => run {
15          #warn "##### ",dump( $user );          #warn "##### ",dump( $user );
16    
17          $top->child( _('Units') => url => '/units' );          $top->child( _('Units') => url => '/units' );
         $top->child( _('Pictures') => url => '/pictures' );  
18    
19            if ( $user->id ) {
20                    $top->child( _('Pictures') => url => '/pictures' );
21            }
22    
23    };
24    
25    on qr{/pictures/show/(.+)$} => run {
26            warn "## showing raw_pic $1\n";
27            set filename => $1;
28            show 'raw_pic';
29  };  };
30    
31  1;  1;

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

  ViewVC Help
Powered by ViewVC 1.1.26