Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel redirect to intended page after register

protected $redirectTo = 'dashboard';

public function redirectTo(){
    return redirect()->intended($this->redirectTo)->getTargetUrl();
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #redirect #intended #page #register
ADD COMMENT
Topic
Name
3+9 =