Parent Directory | Revision Log | 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 |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |