[BUGFIX release] Allow view instance to be passed to {{view}}

Per comment in #9881.

/cc @rwjblue