Model not yet available in setupController hook after ajax call


Hello There

I am having quite a bit of trouble getting started with ember. Look at this case:

Clicking on the flims, loads the correct details about every film.

Directly accessing the filmdetails via url somehow doesn’t work. I haven’t been able to figure this out yet ( been trying 2 days)

When I comment out the setupController hook, the filmdetails are loaded when accessing via the url, but then, the links don’t work properly anymore.

Anyone can help me?


This post pretty much answers my question.

But I am a bit unsure about how my setupController hook should be looking now, I’ll need to dig into this now…