Skip to content

Instantly share code, notes, and snippets.

@BrightnBubbly
Created April 28, 2020 02:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BrightnBubbly/fe45bfd2ae3c8c26bf6923e0d6a030a8 to your computer and use it in GitHub Desktop.
Save BrightnBubbly/fe45bfd2ae3c8c26bf6923e0d6a030a8 to your computer and use it in GitHub Desktop.
public function show($token)
{
$invite = Invite::where('token', $token)->firstOrFail();
if ($invite->accepted) {
return redirect()->route('home');
}
return view('auth.register', compact('invite'));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment