Skip to content

Commit

Permalink
refactor pastecontroller view & submit
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre Tinard committed Mar 22, 2018
1 parent bac59a7 commit 35d0e3a
Show file tree
Hide file tree
Showing 7 changed files with 292 additions and 286 deletions.
2 changes: 1 addition & 1 deletion app/Exceptions/Handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@ protected function unauthenticated($request, AuthenticationException $exception)
return response()->json(['error' => 'Unauthenticated.'], 401);
}

return redirect()->guest('login');
return redirect('/login');
}
}
Loading

0 comments on commit 35d0e3a

Please sign in to comment.