setting this.view on static paths