You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In chrome browser console, when I type session. I get this error:
ReferenceError: session is not defined
get stack: function () { [native code] }
message: "session is not defined"
set stack: function () { [native code] }
__proto__: Error
this.session output is undefined
What might be wrong here?
The text was updated successfully, but these errors were encountered:
The session is injected into controllers and routes. For instance, if you were inside your route's model method, you could access the session with this.session.
To access the session from the chrome console, you must manually look it up on the container: App.__container__.lookup('session:main').
Also, see #4 about defining relationships with strings (as I see your code is doing that).
In chrome browser console, when I type
session
. I get this error:this.session
output isundefined
What might be wrong here?
The text was updated successfully, but these errors were encountered: