From 9321aa49523dc9518d4368822b67acb0a09e9c5f Mon Sep 17 00:00:00 2001 From: fonfon Date: Tue, 11 Nov 2014 16:17:26 +0100 Subject: [PATCH] made first_boot state0 public --- plinth/modules/first_boot/urls.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plinth/modules/first_boot/urls.py b/plinth/modules/first_boot/urls.py index 17646a4bf..04564f924 100644 --- a/plinth/modules/first_boot/urls.py +++ b/plinth/modules/first_boot/urls.py @@ -20,13 +20,14 @@ URLs for the First Boot module """ from django.conf.urls import patterns, url +from stronghold.decorators import public from .views import State0View urlpatterns = patterns( # pylint: disable-msg=C0103 'plinth.modules.first_boot.views', # Take care of the firstboot middleware when changing URLs - url(r'^firstboot/$', State0View.as_view(), name='index'), - url(r'^firstboot/state0/$', State0View.as_view(), name='state0'), + url(r'^firstboot/$', public(State0View.as_view()), name='index'), + url(r'^firstboot/state0/$', public(State0View.as_view()), name='state0'), url(r'^firstboot/state10/$', 'state10', name='state10'), )