diff options
Diffstat (limited to 'modules/path/path.module')
-rw-r--r-- | modules/path/path.module | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/modules/path/path.module b/modules/path/path.module index 18833dd1c..76f81907c 100644 --- a/modules/path/path.module +++ b/modules/path/path.module @@ -45,8 +45,7 @@ function path_menu() { ); $items['admin/build/path/edit'] = array( 'title' => 'Edit alias', - 'page callback' => 'drupal_get_form', - 'page arguments' => array('path_admin_edit'), + 'page callback' => 'path_admin_edit', 'type' => MENU_CALLBACK, 'file' => 'path.admin.inc', ); @@ -64,8 +63,7 @@ function path_menu() { ); $items['admin/build/path/add'] = array( 'title' => 'Add alias', - 'page callback' => 'drupal_get_form', - 'page arguments' => array('path_admin_edit'), + 'page callback' => 'path_admin_edit', 'access arguments' => array('administer url aliases'), 'type' => MENU_LOCAL_TASK, 'file' => 'path.admin.inc', |