public function view()
 {
     parent::_prepareView();
     $this->redirect('/dane/gminy/' . $this->object->getData('gminy.id') . '/druki/' . $this->object->getId());
     die;
 }
 public function view()
 {
     parent::_prepareView();
     $this->redirect('/dane/instytucje/' . $this->object->getData('instytucja_id') . '/prawo/' . $this->object->getId());
     die;
 }
 public function view()
 {
     parent::_prepareView();
     $this->redirect('/dane/krs_podmioty/' . $this->object->getData('krs_id') . '/umowy/' . $this->object->getId());
     die;
 }
 public function view()
 {
     parent::_prepareView();
     $this->redirect($this->object->getUrl());
     die;
 }