summaryrefslogtreecommitdiff
path: root/modules/book/book.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/book/book.module')
-rw-r--r--modules/book/book.module11
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/book/book.module b/modules/book/book.module
index 4361c7eb7..bd3b07dd9 100644
--- a/modules/book/book.module
+++ b/modules/book/book.module
@@ -213,6 +213,17 @@ function _book_outline_remove_access($node) {
}
/**
+ * Implements hook_admin_paths().
+ */
+function book_admin_paths() {
+ $paths = array(
+ 'node/*/outline' => TRUE,
+ 'node/*/outline/remove' => TRUE,
+ );
+ return $paths;
+}
+
+/**
* Implements hook_init().
*/
function book_init() {