title: zend framework 2 base path access in controller
body: <p>How can i call basePath helper in controller in ZF 2. I have to redirect to a particular url in which i need base path. 
  return $this->redirect()->toUrl($basePath.'/application/rent/search');</p>