Resolve resources without initial user since never will reach the resources to avoid application halt
This commit is contained in:
@@ -37,7 +37,7 @@ export default Ember.Mixin.create ApplicationRouteMixin,
|
||||
@current_user_loaded user # overloadable
|
||||
, =>
|
||||
@set 'router.globals.current_user', null
|
||||
#@get('initial_resources_reject')('Unauthenticated user')
|
||||
@get('initial_resources_resolve')() # no initial resources without user, do not halt application propagation
|
||||
@transitionTo('login')
|
||||
|
||||
actions:
|
||||
|
||||
Reference in New Issue
Block a user