Allowing view vars to be pushed from resource methods.