Record ActionView in a local variable