##########################################################

=head2 add_routes

page: /thruk/cgi-bin/minemap.cgi

=cut

$routes->{'/thruk/cgi-bin/minemap.cgi'} = 'Thruk::Controller::minemap::index';

Thruk::Utils::Menu::insert_item('Current Status', {
                                'href'  => $app->config->{'Thruk::Plugin::Minemap'}->{'default_link'} || $app->config->{'minemap_default_link'} || '/thruk/cgi-bin/minemap.cgi',
                                'name'  => 'Mine Map',
                                'after' => 'Service Groups',
});

Thruk::Utils::Status::add_view({'group' => 'Mine Map',
                                'name'  => 'Mine Map',
                                'value' => 'minemap',
                                'url'   => 'minemap.cgi',
});

$app->config->{'has_feature_minemap'} = 1;
