/[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

Contents of /lib/Arh/Dispatcher.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6 - (show annotations)
Thu Nov 29 12:36:51 2007 UTC (16 years, 4 months ago) by dpavlin
File size: 333 byte(s)
added pictures pages to decorate on-disk pictures with meta-data
1 package Arh::Dispatcher;
2
3 use strict;
4 use warnings;
5
6 use Jifty::Dispatcher -base;
7
8 use Data::Dump qw/dump/;
9
10 before '*' => run {
11 my $top = Jifty->web->navigation;
12 my $user = Jifty->web->current_user;
13
14 #set user => $user;
15 #warn "##### ",dump( $user );
16
17 $top->child( _('Pictures') => url => '/pictures' ); # if $user->id;
18
19 };
20
21 1;

  ViewVC Help
Powered by ViewVC 1.1.26