help: Remove the duplicate index URL and menu item

Signed-off-by: Manish Tripathy <manisht@thougtworks.com>
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Sunil Mohan Adapa 2018-06-18 19:28:35 +05:30
parent cece5a003d
commit ee80d77be5
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2
2 changed files with 0 additions and 7 deletions

View File

@ -36,9 +36,6 @@ def init():
"""Initialize the Help module"""
menu = main_menu.add_urlname(
ugettext_lazy('Documentation'), 'glyphicon-book', 'help:index')
menu.add_urlname(
ugettext_lazy('Where to Get Help'), 'glyphicon-search',
'help:index-explicit', order=5)
menu.add_urlname(
ugettext_lazy('Manual'), 'glyphicon-info-sign', 'help:manual',
order=10)

View File

@ -25,11 +25,7 @@ from plinth.utils import non_admin_view
from . import help as views
urlpatterns = [
# having two urls for one page is a hack to help the current url/menu
# system highlight the correct menu item. Every submenu-item with the same
# url prefix as the main-menu is highlighted automatically.
url(r'^help/$', non_admin_view(views.index), name='index'),
url(r'^help/index/$', non_admin_view(views.index), name='index-explicit'),
url(r'^help/about/$', non_admin_view(views.about), name='about'),
url(r'^help/manual/$', non_admin_view(views.manual), name='manual'),
url(r'^help/manual/download/$', non_admin_view(views.download_manual),