Added more debug log.
This commit is contained in:
parent
9675dbfe22
commit
33f62495ad
1 changed files with 5 additions and 2 deletions
|
@ -87,12 +87,15 @@ class Index extends App.ControllerContent
|
||||||
}
|
}
|
||||||
|
|
||||||
# redirect to #
|
# redirect to #
|
||||||
if @Config.get( 'requested_url' ) isnt ''
|
requested_url = @Config.get( 'requested_url' )
|
||||||
@navigate @Config.get( 'requested_url' )
|
if requested_url isnt ''
|
||||||
|
console.log("REDIRECT to '#{requested_url}'")
|
||||||
|
@navigate requested_url
|
||||||
|
|
||||||
# reset
|
# reset
|
||||||
@Config.set( 'requested_url', '' )
|
@Config.set( 'requested_url', '' )
|
||||||
else
|
else
|
||||||
|
console.log("REDIRECT to -#/-")
|
||||||
@navigate '#/'
|
@navigate '#/'
|
||||||
|
|
||||||
error: (xhr, statusText, error) =>
|
error: (xhr, statusText, error) =>
|
||||||
|
|
Loading…
Reference in a new issue