You are here

function rate_menu in Rate 7.2

Same name and namespace in other branches
  1. 6.2 rate.module \rate_menu()
  2. 7 rate.module \rate_menu()

Implements hook_menu().

File

./rate.module, line 28
Main module file for the Rate module.

Code

function rate_menu() {
  $menu = array();
  $menu['rate/vote/js'] = array(
    'page callback' => 'rate_vote_ajax',
    'access arguments' => array(
      'access content',
    ),
    'type' => MENU_CALLBACK,
  );
  return $menu;
}