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

Diff of /lib/A3C/Dispatcher.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 125 by dpavlin, Thu May 22 20:48:42 2008 UTC revision 134 by dpavlin, Fri May 30 20:04:43 2008 UTC
# Line 3  package A3C::Dispatcher; Line 3  package A3C::Dispatcher;
3  use strict;  use strict;
4  use warnings;  use warnings;
5    
6    =head1 NAME
7    
8    A3C::Displatcher
9    
10    =head1 DESCRIPTION
11    
12    Create top-level menu navigation
13    
14    =cut
15    
16  use Jifty::Dispatcher -base;  use Jifty::Dispatcher -base;
17    
18  use Data::Dump qw/dump/;  use Data::Dump qw/dump/;
# Line 17  before '*' => run { Line 27  before '*' => run {
27    
28  #       Jifty->log->debug("current_user = ", dump( $user ));  #       Jifty->log->debug("current_user = ", dump( $user ));
29    
30          $top->child( _('People') => url => 'people' );          $top->child( _('People') => url => '/people' );
31          $top->child( _('Organizations') => url => 'organizations' );          my $o = $top->child( _('Organizations') => url => '/organizations' );
32            $o->child( _('New') => url => '/organizations/new' );
33    
34          $top->child( _('Sync') => url => 'sync' );          $top->child( _('Sync') => url => '/sync' );
35          $top->child( _('LDAP') => url => 'ldap' );          $top->child( _('LDAP') => url => '/ldap' );
36    
37  #       $top->child( 'Prefs' => url => '/prefs' ) if Jifty->web->current_user->id;  #       $top->child( 'Prefs' => url => '/prefs' ) if Jifty->web->current_user->id;
38    

Legend:
Removed from v.125  
changed lines
  Added in v.134

  ViewVC Help
Powered by ViewVC 1.1.26