diff --git a/plinth/modules/help/urls.py b/plinth/modules/help/urls.py index 2ebb16220..f27fa8168 100644 --- a/plinth/modules/help/urls.py +++ b/plinth/modules/help/urls.py @@ -21,6 +21,8 @@ URLs for the Help module from django.conf.urls import url +from plinth.utils import non_admin_view + from . import help as views @@ -28,9 +30,9 @@ 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/$', views.index, name='index'), - url(r'^help/index/$', views.index, name='index_explicit'), - url(r'^help/about/$', views.about, name='about'), - url(r'^help/manual/$', views.manual, name='manual'), - url(r'^help/status-log/$', views.status_log, name='status-log'), + 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/status-log/$', non_admin_view(views.status_log), name='status-log'), ]