made first_boot state0 public

This commit is contained in:
fonfon 2014-11-11 16:17:26 +01:00 committed by Sunil Mohan Adapa
parent 824a9091c1
commit 9321aa4952

View File

@ -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'),
)