function me_user_edit in me aliases 6
Menu callback to redirect to the user edit pages with the correct user id.
TODO: Remove when/if http://drupal.org/node/109588 gets in.
File
- ./
me.module, line 542 - Provides 'me' aliases to allow users to enter 'me' in common paths instead of their user id.
Code
function me_user_edit() {
drupal_goto('user/' . $GLOBALS['user']->uid . '/edit');
}