I am trying my first module on Drupal 7 on the behalf of experience on Drupal 6.
function custom_work_menu(){
$items = array();
$items['mypage']=array(
'title'=>t('Title'),
'page callback' => 'drupal_get_form',
'page arguments' => array('custom_work_mypage_view'),
'access arguments' => array('access content'),
);
return $items;
}
Upon accessing my page, I get access denied. What am I missing here?