Skip to content

Commit

Permalink
switch for double quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmcclean committed Nov 23, 2023
1 parent 1bce2dc commit 192262c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Middleware/CP/RedirectIfAuthorized.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function handle($request, Closure $next, $guard = null)
{
if ($user = User::current()) {
if ($user->can('access cp')) {
Toast::error(__('You can\'t do this while logged in'));
Toast::error(__("You can't do this while logged in"));

return redirect(cp_route('index'));
}
Expand Down

0 comments on commit 192262c

Please sign in to comment.