summaryrefslogtreecommitdiff
path: root/modules/node/node.module
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-12-29 04:23:53 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-12-29 04:23:53 +0000
commit7e1fda54034a1ec5b1b90f564f7819a2fa9a6bcc (patch)
tree19842fd440db46c938a3394e09da2651d6f34b4e /modules/node/node.module
parent56a3eea5b09aae40d0c41e14626c8b1dc9e9d8fb (diff)
downloadbrdo-7e1fda54034a1ec5b1b90f564f7819a2fa9a6bcc.tar.gz
brdo-7e1fda54034a1ec5b1b90f564f7819a2fa9a6bcc.tar.bz2
#655508 by David_Rothstein and Dave Reid: Define more node-related pages to hook_admin_paths().
Diffstat (limited to 'modules/node/node.module')
-rw-r--r--modules/node/node.module4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/node/node.module b/modules/node/node.module
index a7c839d94..c1c623b7f 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -253,9 +253,11 @@ function node_entity_info() {
*/
function node_admin_paths() {
$paths = array(
- 'node/*/add' => TRUE,
'node/*/edit' => TRUE,
'node/*/delete' => TRUE,
+ 'node/*/revisions' => TRUE,
+ 'node/*/revisions/*/revert' => TRUE,
+ 'node/*/revisions/*/delete' => TRUE,
'node/add' => TRUE,
'node/add/*' => TRUE,
);