I have an application with 3 routes:
"/"
"/one"
"/two"
I want to connect outlets like header
and footer
on the applicationView
before any of them load.
Since ember can only navigate to leaf nodes, I can't nest /one
and two
under /
and still be able to navigate to /
This means that I would have to repeat the connectOutlets
code for all 3 routes individually to hook up the header
and footer
.
I can't use connectOutlets
on the root
property of the Router as the applicationController
is not ready yet.
How do I connect outlets on the applicationView
when my application first loads before any routes are executed?