diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-02-11 09:30:51 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-02-11 09:30:51 +0000 |
commit | a1e6728a46a8f00cc2a1b418fa2b5bb2143d0819 (patch) | |
tree | e4197a1dfae373bed86f5be32aa1c367841f3b98 /modules/comment/comment.module | |
parent | 373a071fc4fcac1a4789c4d29568a04af8354ef3 (diff) | |
download | brdo-a1e6728a46a8f00cc2a1b418fa2b5bb2143d0819.tar.gz brdo-a1e6728a46a8f00cc2a1b418fa2b5bb2143d0819.tar.bz2 |
- Patch #113603 by chx: first crack at re-implementing tabs.
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r-- | modules/comment/comment.module | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module index f92467c4a..f922d300e 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -195,15 +195,14 @@ function comment_menu() { 'access arguments' => array('post comments'), 'type' => MENU_CALLBACK, ); - $items['comment/reply'] = array( + $items['comment/reply/%node'] = array( 'title' => t('Reply to comment'), 'page callback' => 'comment_reply', 'access callback' => 'node_access', 'access arguments' => array('view', 2), - 'map arguments' => array('node_load', 2), 'type' => MENU_CALLBACK, ); - $items['node/%/%'] = array( + $items['node/%node/%'] = array( 'title' => t('View'), 'page callback' => 'node_page_view', 'page arguments' => array(1, 2), |