title: disabling view with in action in ZF2
body: <p>I am struggling with disabling view in ZF2 <code>$this-&gt;_helper-&gt;viewRenderer-&gt;setNoRender(); or (true)</code> with no luck as it always says there </p>
  
  <pre><code>PHP Fatal error:  Call to a member function setNoRender() on a non-object in ../module/Location/src/Location/Controller/LocationController.php on line 190
  </code></pre>