Mistake in routing documentation?


#1

I’m not sure if discuss.emberjs.com is the appropiate place right now to ask documentation questions. Being bold, I’ll ask my question anyway here.

http://emberjs.com/guides/routing/setting-up-a-controller/ currently states:

  • “The default setupController hook sets the model property of the associated controller to the route handler’s model.”

Shouldn’t it instead say:

  • “The default setupController hook sets the content property of the associated controller to the route handler’s model.”

#2

They both work, model is an alias for content, you can set any of them, it doesn’t matter.


#3

model is the preferred property, though content still works for backwards-compatibility. You should expect content to be deprecated in a future release.


Little confusion in the docs - controllers: "model property"? "content property"?