ember.js - Swapping the stores -
i wondering if swap stores somewhere in initializer. thing is, want check window.navigator object something, , decide store ember-simple-auth should use.
thanks.
you can in initializer runs before 'simple-auth'
initializer , modifies app's env
(env['simple-auth'].store
value you'd want set).
Comments
Post a Comment