ons object, the action will be sent to the router, where
the currently active leaf route will be given a chance to handle the action.</p>
<p>Routes and controllers that handle actions <strong>must place action handlers
inside an <code>actions</code> hash</strong>. Even if a route has a method with the same name
as the actions, it will not be triggered unless it is inside an <code>actions</code> hash.
In the case of a controller, while there is deprecated support for triggering
a method directly on the contr