Skip to content

Instantly share code, notes, and snippets.

@laracasts laracasts/ex.php
Created Feb 1, 2015

What would you like to do?
* Destroy the user's session (logout).
* @return Response
public function destroy()
flash()->info('You are now logged out.');
return home();

This comment has been minimized.

Copy link

JeffreyWay commented Feb 1, 2015

Or, just flash('You are now logged in');

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.