summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorprashant2015-04-13 14:44:43 +0530
committerprashant2015-04-13 14:44:43 +0530
commitadf9a307b718d13f5e9cad77e1dc7384df237928 (patch)
tree09048e54913887c98949c5e37b71368842055065
parenta01abd0efac1c73d78e19bd919ed0522812b08c3 (diff)
downloadDWSIM_textbook_companion-adf9a307b718d13f5e9cad77e1dc7384df237928.tar.gz
DWSIM_textbook_companion-adf9a307b718d13f5e9cad77e1dc7384df237928.tar.bz2
DWSIM_textbook_companion-adf9a307b718d13f5e9cad77e1dc7384df237928.zip
done minor changes in access arguments
-rwxr-xr-xtextbook_companion.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/textbook_companion.module b/textbook_companion.module
index 77cbcfe..0a6b051 100755
--- a/textbook_companion.module
+++ b/textbook_companion.module
@@ -391,7 +391,7 @@ function textbook_companion_menu()
'title' => 'Code Download',
'description' => 'Code Download',
'page callback' => 'textbook_companion_download_full_chapter',
- 'access arguments' => array('approve code'),
+ 'access arguments' => array('download code'),
'type' => MENU_CALLBACK,
'file' => 'full_download.inc',
);
@@ -399,7 +399,7 @@ function textbook_companion_menu()
'title' => 'Code Download',
'description' => 'Code Download',
'page callback' => 'textbook_companion_download_full_book',
- 'access arguments' => array('approve code'),
+ 'access arguments' => array('download code'),
'type' => MENU_CALLBACK,
'file' => 'full_download.inc',
);