You are here

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.

1 string reference to 'me_user_edit'
me_menu in ./me.module
Implementation of hook_menu().

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');
}