Exemple #1
0
 /**
  * Get redirect target 
  * 
  * @return string
  */
 protected function getRedirectTarget()
 {
     $target = parent::getRedirectTarget();
     if ('import_pin_codes' == $target) {
         $target = 'add_pin_codes';
     }
     return $target;
 }
Exemple #2
0
 /**
  * Get redirect target
  *
  * @return string
  */
 protected function getRedirectTarget()
 {
     $target = parent::getRedirectTarget();
     if ('attachment' == $target) {
         $target = 'product';
     }
     return $target;
 }