protected function makeRedirection($intended = false)
    {
        $method = $intended ? 'intended' : 'to';

        $property = $this->property('redirect');

        if (!strlen($property)) {
            return;
        }

        $redirectUrl = $this->pageUrl($property) ?: $property;

        if ($redirectUrl = post('redirect', $redirectUrl)) {
            return Redirect::$method($redirectUrl);
        }
    }
protected function makeRedirection($intended = false)
    {
        $method = $intended ? 'intended' : 'to';

        $property = $this->property('redirect');

        if (!strlen($property)) {
            return;
        }

        $redirectUrl = $this->pageUrl($property) ?: $property;

        if ($redirectUrl = post('redirect', $redirectUrl)) {
            return Redirect::$method($redirectUrl);
        }
    }
protected function makeRedirection ( $ intended = false ) { $ method = $ intended ? 'intended' : 'to' ; $ property = $ this -> property ( 'redirect' ) ; if ( ! strlen ( $ property ) ) { return ; } $ redirectUrl = $ this -> pageUrl ( $ property ) ? : $ property ; if ( $ redirectUrl = post ( 'redirect' , $ redirectUrl ) ) { return Redirect :: $ method ( $ redirectUrl ) ; } }
Redirect to the intended page after successful update, sign in or registration.
The URL can come from the "redirect" property or the "redirect" postback value.
@return mixed
Redirect to the intended page after successful update sign in or registration . The URL can come from the redirect property or the redirect postback value .