/[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 47 by dpavlin, Sun Apr 6 16:06:41 2008 UTC revision 55 by dpavlin, Sun Apr 6 21:07:20 2008 UTC
# Line 17  before '*' => run { Line 17  before '*' => run {
17          $top->child( _('Units') => url => '/units' );          $top->child( _('Units') => url => '/units' );
18    
19          if ( $user->id ) {          if ( $user->id ) {
20                  $top->child( _('Pictures') => url => '/pictures' );                  # only for logged users
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.47  
changed lines
  Added in v.55

  ViewVC Help
Powered by ViewVC 1.1.26