/[transports]/trunk/lib/Transports/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 /trunk/lib/Transports/Dispatcher.pm

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

revision 64 by dpavlin, Mon Jun 5 15:09:51 2006 UTC revision 65 by dpavlin, Sun Jun 11 02:59:18 2006 UTC
# Line 40  on qr'^/import/(\d+)', run { Line 40  on qr'^/import/(\d+)', run {
40          show('/import');          show('/import');
41  };  };
42    
 =head1 User operations  
   
 =head2 /user/42  
   
 edit user with id C<42>  
   
 =cut  
   
 on qr'^/user/(\d+)', run {  
         my $u = Transports::Model::User->new();  
         $u->load_by_cols( id => $1 );  
   
         set user_id => $1;  
   
         set user => Jifty->web->new_action(  
                 class => $u->id ? 'UpdateUser' : 'CreateUser',  
                 record => $u  
         );  
   
         show('/user_form');  
 };  
   
43  =head1 Login and logout operations  =head1 Login and logout operations
44    
45  =head2 login  =head2 login

Legend:
Removed from v.64  
changed lines
  Added in v.65

  ViewVC Help
Powered by ViewVC 1.1.26