Parent Directory | Revision Log | 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; |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |