Skip to content

Instantly share code, notes, and snippets.

@ammezie ammezie/ChatController.php Secret
Created Nov 13, 2019

What would you like to do?
// app/Http/Controllers/ChatController.php
public function joinChannel(Request $request)
$username = explode('@', $request->email)[0];
return redirect('/home');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.