src/actions/ActionSynchronize.php
protected function initialRedirectUrl() {

        $defaultUrl = '/'. $this->controller->id . '/' . $this->controller->defaultAction;

        if (isset($this->controller->module->id) && !$this->controller->module instanceof Application) {
            $defaultUrl = '/' . $this->controller->module->id . $defaultUrl;
        }

        if ( empty( $this->successUrl ) ) {
            $this->successUrl = $defaultUrl;
        }

        if ( empty( $this->failedUrl ) ) {
            $this->failedUrl = $defaultUrl;
        }

    }
protected function initialRedirectUrl() {

        $defaultUrl = '/'. $this->controller->id . '/' . $this->controller->defaultAction;

        if (isset($this->controller->module->id) && !$this->controller->module instanceof Application) {
            $defaultUrl = '/' . $this->controller->module->id . $defaultUrl;
        }

        if ( empty( $this->successUrl ) ) {
            $this->successUrl = $defaultUrl;
        }

        if ( empty( $this->failedUrl ) ) {
            $this->failedUrl = $defaultUrl;
        }

    }
protected function initialRedirectUrl ( ) { $ defaultUrl = '/' . $ this -> controller -> id . '/' . $ this -> controller -> defaultAction ; if ( isset ( $ this -> controller -> module -> id ) && ! $ this -> controller -> module instanceof Application ) { $ defaultUrl = '/' . $ this -> controller -> module -> id . $ defaultUrl ; } if ( empty ( $ this -> successUrl ) ) { $ this -> successUrl = $ defaultUrl ; } if ( empty ( $ this -> failedUrl ) ) { $ this -> failedUrl = $ defaultUrl ; } }
Set default redirect url
Set default redirect url