Redirect to #getting_started until system setup is done.
This commit is contained in:
parent
d149134578
commit
dc2b5c584a
1 changed files with 5 additions and 0 deletions
|
@ -5,6 +5,11 @@ class Index extends App.ControllerContent
|
||||||
constructor: ->
|
constructor: ->
|
||||||
super
|
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
|
# navigate to # if session if exists
|
||||||
if @Session.get()
|
if @Session.get()
|
||||||
@navigate '#'
|
@navigate '#'
|
||||||
|
|
Loading…
Reference in a new issue