Add name attribute to adapter model

This commit is contained in:
2018-11-20 17:49:13 -03:00
parent 286c229ef9
commit d70661672c
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -35,8 +35,8 @@ export default Ember.Route.extend DunlopApplicationRoute,
@load_backend_settings()
]).catch((reason) =>
@get('initial_resources_reject')(reason)
).then (results...) =>
@set 'router.globals.adapters', results[4] #.content ? this is a promise, could be an array @store.peekAll('panda/adapter')
).then (results) =>
@set 'router.globals.adapters', results[4].toArray()
@get('initial_resources_resolve')()
load_backend_settings: ->