Use ->getView() instead of ->view in view method