Redirect to #getting_started until system setup is done.

This commit is contained in:
Martin Edenhofer 2014-11-01 11:47:39 +01:00
parent d149134578
commit dc2b5c584a

View file

@ -5,6 +5,11 @@ class Index extends App.ControllerContent
constructor: ->
super
# redirect to getting started if setup is not done
if !@Config.get('system_init_done')
@navigate '#getting_started'
return
# navigate to # if session if exists
if @Session.get()
@navigate '#'