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
router.js:936 Error while processing route: index this.get(...).fetch is not a function TypeError: this.get(...).fetch is not a function
Does anybody have any idea what's going on? I'm copying the tutorial to the letter.
The text was updated successfully, but these errors were encountered:
rij12
changed the title
Emberfire session not recognising any functions
Emberfire session not recognising any functions this.get(...).fetch is not a function TypeError: this.get(...).fetch is not a function
Dec 17, 2017
I know this is super old, but you need to inject the service into the routes/controllers that need it. Also it looks like you are referencing your app/router.js file, when you should be doing this in either a controller (app/controller/controllerFile.js) or a route (app/routes/routeFile.js). Here's the docs on this.
I'm using emberfire to authenticate to a firebase database following the ember tutorial exactly with the following config:
I get the following error:
router.js:936 Error while processing route: index this.get(...).fetch is not a function TypeError: this.get(...).fetch is not a function
Does anybody have any idea what's going on? I'm copying the tutorial to the letter.
The text was updated successfully, but these errors were encountered: