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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 55 - (show annotations)
Tue Apr 1 19:39:00 2008 UTC (15 years, 11 months ago) by dpavlin
File size: 475 byte(s)
- added SyncOrganization action with tests and GUI
1 package A3C::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->user_object;
13
14 # Jifty->log->debug("current_user = ", dump( $user ));
15
16 $top->child( _('Find People') => url => '/search-users' );
17 $top->child( _('Sync Organization') => url => '/sync' );
18 # $top->child( 'Prefs' => url => '/prefs' ) if Jifty->web->current_user->id;
19
20 };
21
22 1;

  ViewVC Help
Powered by ViewVC 1.1.26