From 07ee03941f914f81b5611a356b0ae6b4282e0f9b Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Fri, 1 May 2015 18:32:26 +0530 Subject: [PATCH] Redirect to apps page always from index page - Plinth will become the home page for FreedomBox. So it has to serve the purpose the directing users to available services. This will happen most often and should also work when users are not logged in. - Soon we will have a resigned 'front page'/'apps' section which is expected to be shown to user who are not logged in too. - Apps menus has been removed. Index page is now the only way to reach Apps section. --- plinth/views.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/plinth/views.py b/plinth/views.py index df6c5dd77..af32e0b4f 100644 --- a/plinth/views.py +++ b/plinth/views.py @@ -28,10 +28,7 @@ from plinth import package as package_module def index(request): """Serve the main index page.""" - if request.user.is_authenticated(): - return HttpResponseRedirect(reverse('apps:index')) - - return HttpResponseRedirect(reverse('help:about')) + return HttpResponseRedirect(reverse('apps:index')) class PackageInstallView(TemplateView):