summaryrefslogtreecommitdiff
path: root/modules/path
diff options
context:
space:
mode:
Diffstat (limited to 'modules/path')
-rw-r--r--modules/path/path.info2
-rw-r--r--modules/path/path.module4
2 files changed, 2 insertions, 4 deletions
diff --git a/modules/path/path.info b/modules/path/path.info
index ce0490943..10fa65748 100644
--- a/modules/path/path.info
+++ b/modules/path/path.info
@@ -4,3 +4,5 @@ description = Allows users to rename URLs.
package = Core - optional
version = VERSION
core = 7.x
+files[] = path.module
+files[] = path.admin.inc
diff --git a/modules/path/path.module b/modules/path/path.module
index 49ea6c000..36a975de0 100644
--- a/modules/path/path.module
+++ b/modules/path/path.module
@@ -38,14 +38,12 @@ function path_menu() {
'description' => "Change your site's URL paths by aliasing them.",
'page callback' => 'path_admin_overview',
'access arguments' => array('administer url aliases'),
- 'file' => 'path.admin.inc',
);
$items['admin/build/path/edit'] = array(
'title' => 'Edit alias',
'page callback' => 'path_admin_edit',
'access arguments' => array('administer url aliases'),
'type' => MENU_CALLBACK,
- 'file' => 'path.admin.inc',
);
$items['admin/build/path/delete'] = array(
'title' => 'Delete alias',
@@ -53,7 +51,6 @@ function path_menu() {
'page arguments' => array('path_admin_delete_confirm'),
'access arguments' => array('administer url aliases'),
'type' => MENU_CALLBACK,
- 'file' => 'path.admin.inc',
);
$items['admin/build/path/list'] = array(
'title' => 'List',
@@ -65,7 +62,6 @@ function path_menu() {
'page callback' => 'path_admin_edit',
'access arguments' => array('administer url aliases'),
'type' => MENU_LOCAL_TASK,
- 'file' => 'path.admin.inc',
);
return $items;