Parent Directory | Revision Log
another huge code dump: - rename database columns to prevent conficts with standards - added editing accessor to user which returns edit mode - ToggleEdit action to change editing state (broken) - tweaks all over templates to make units entry a breeze - version bump [0.03]
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( _('Units') => url => '/units' ); |
18 | $top->child( _('Pictures') => url => '/pictures' ); |
19 | |
20 | }; |
21 | |
22 | 1; |
ViewVC Help | |
Powered by ViewVC 1.1.26 |