The easiest approach right now is to store it on the ApplicationController itself, which defaults to being a simple controller.
Then, you can grab it in routes via controllerFor
and other controllers via needs
.
The easiest approach right now is to store it on the ApplicationController itself, which defaults to being a simple controller.
Then, you can grab it in routes via controllerFor
and other controllers via needs
.