title: Zend addScriptPath in postDispatch?
body: <p>is it a good idea to add a script path in postDispatch of a controller? Or is the init() or preDispatch() function a better place for it?</p>
  
  <pre><code>public function postDispatch() {
     $this-&gt;view-&gt;addScriptPath( path/to/scripts );
  }
  </code></pre>
  
  <p>In fact adding a script path in postDispatch does not work correctly.</p>
  
  <p>So where I should put it - init() or preDispatch()?</p>