Route's variables and templates


#1

Hello

I am learning ember, so excuse me for stupid question.

I’d like to know is it possible to render route’s variable to template?


#2

return it from model() hook, then model.xxx will be accessible in your template.

or, use setupController() hook to set it for controller, template can access properties in controller.