Monkeypatch view class so that it would set 'view' parameter on request object