The redirect function returns a redirect HTTP response, or returns the redirector instance if called with no arguments:
<?php return redirect($to = null, $status = 302, $headers = [], $https = null);

return redirect('/home');

return redirect()->route('route.name');
<?php         $request->session()->flash('user.name', $user->name);



        return redirect()->route('post.index');

    }

}
<?php         $post->save();



        return redirect()->route('post.edit', ['post' => $post]);

    }

}
<?php         $request->session()->flash('user.name', $user->name);



        return redirect()->route('admin.user.index');

    }

}
<?php         $request->session()->flash('post.title', $post->title);



        return redirect()->route('post.index');

    }

}
<?php         $request->session()->flash('post.title', $post->title);



        return redirect()->route('post.index');

    }

}
<?php         $request->session()->flash('post.title', $post->title);



        return redirect()->route('post.index');

    }

}
<?php         $request->session()->flash('term.id', $term->id);



        return redirect()->route('term.index');

    }
<?php         $request->session()->flash('term.id', $term->id);



        return redirect()->route('term.index');

    }
<?php     {

        $term->delete();



        return redirect()->route('term.index');

    }

}
<?php     {

        $post = Post::create($request->all());



        return redirect()->route('post.index');

    }

}