def admin_menu 
      @admin_menu ||= [
        ['overview', :dashboard, {controller: 'gricer/dashboard', action: 'overview'}],
        ['visitors', :menu, [
          ['entry_pages', :spread, {controller: 'gricer/requests', action: 'spread_stats', field: 'entry_path'}],
          ['referers', :spread, {controller: 'gricer/requests', action: 'spread_stats', field: 'referer_host'}],
          ['search_engines', :spread, {controller: 'gricer/requests', action: 'spread_stats', field: 'search_engine'}],
          ['search_terms', :spread, {controller: 'gricer/requests', action: 'spread_stats', field: 'search_query'}],
          ['countries', :spread, {controller: 'gricer/sessions', action: 'spread_stats', field: 'country'}],
          ['domains', :spread, {controller: 'gricer/sessions', action: 'spread_stats', field: 'domain'}],
          ['locales', :spread, {controller: 'gricer/sessions', action: 'spread_stats', field: 'requested_locale_major'}]
        ] ],
        ['pages', :menu, [
          ['views', :spread, {controller: 'gricer/requests', action: 'spread_stats', field: 'path'}],
          ['hosts', :spread, {controller: 'gricer/requests', action: 'spread_stats', field: 'host'}],
          ['methods', :spread, {controller: 'gricer/requests', action: 'spread_stats', field: 'method'}],
          ['protocols', :spread, {controller: 'gricer/requests', action: 'spread_stats', field: 'protocol'}],
        ] ],
        ['browsers', :menu, [
          ['browsers', :spread, {controller: 'gricer/sessions', action: 'spread_stats', field: 'agent.name'}],
          ['operating_systems', :spread, {controller: 'gricer/sessions', action: 'spread_stats', field: 'agent.os'}],
          ['engines', :spread, {controller: 'gricer/sessions', action: 'spread_stats', field: 'agent.engine_name'}],
          ['javascript', :spread, {controller: 'gricer/sessions', action: 'spread_stats', field: 'javascript'}],
          ['java', :spread, {controller: 'gricer/sessions', action: 'spread_stats', field: 'java'}],
          ['silverlight', :spread, {controller: 'gricer/sessions', action: 'spread_stats', field: 'silverlight_major_version'}],
          ['flash', :spread, {controller: 'gricer/sessions', action: 'spread_stats', field: 'flash_major_version'}],
          ['screen_sizes', :spread, {controller: 'gricer/sessions', action: 'spread_stats', field: 'screen_size'}],
          ['color_depths', :spread, {controller: 'gricer/sessions', action: 'spread_stats', field: 'screen_depth'}]
        ] ]
      ]
    end
def admin_menu 
      @admin_menu ||= [
        ['overview', :dashboard, {controller: 'gricer/dashboard', action: 'overview'}],
        ['visitors', :menu, [
          ['entry_pages', :spread, {controller: 'gricer/requests', action: 'spread_stats', field: 'entry_path'}],
          ['referers', :spread, {controller: 'gricer/requests', action: 'spread_stats', field: 'referer_host'}],
          ['search_engines', :spread, {controller: 'gricer/requests', action: 'spread_stats', field: 'search_engine'}],
          ['search_terms', :spread, {controller: 'gricer/requests', action: 'spread_stats', field: 'search_query'}],
          ['countries', :spread, {controller: 'gricer/sessions', action: 'spread_stats', field: 'country'}],
          ['domains', :spread, {controller: 'gricer/sessions', action: 'spread_stats', field: 'domain'}],
          ['locales', :spread, {controller: 'gricer/sessions', action: 'spread_stats', field: 'requested_locale_major'}]
        ] ],
        ['pages', :menu, [
          ['views', :spread, {controller: 'gricer/requests', action: 'spread_stats', field: 'path'}],
          ['hosts', :spread, {controller: 'gricer/requests', action: 'spread_stats', field: 'host'}],
          ['methods', :spread, {controller: 'gricer/requests', action: 'spread_stats', field: 'method'}],
          ['protocols', :spread, {controller: 'gricer/requests', action: 'spread_stats', field: 'protocol'}],
        ] ],
        ['browsers', :menu, [
          ['browsers', :spread, {controller: 'gricer/sessions', action: 'spread_stats', field: 'agent.name'}],
          ['operating_systems', :spread, {controller: 'gricer/sessions', action: 'spread_stats', field: 'agent.os'}],
          ['engines', :spread, {controller: 'gricer/sessions', action: 'spread_stats', field: 'agent.engine_name'}],
          ['javascript', :spread, {controller: 'gricer/sessions', action: 'spread_stats', field: 'javascript'}],
          ['java', :spread, {controller: 'gricer/sessions', action: 'spread_stats', field: 'java'}],
          ['silverlight', :spread, {controller: 'gricer/sessions', action: 'spread_stats', field: 'silverlight_major_version'}],
          ['flash', :spread, {controller: 'gricer/sessions', action: 'spread_stats', field: 'flash_major_version'}],
          ['screen_sizes', :spread, {controller: 'gricer/sessions', action: 'spread_stats', field: 'screen_size'}],
          ['color_depths', :spread, {controller: 'gricer/sessions', action: 'spread_stats', field: 'screen_depth'}]
        ] ]
      ]
    end
Configure the structure of Gricer's admin menu

 Default value see source
 @return [Array]