Apply fixes from StyleCI

[ci skip] [skip ci]
This commit is contained in:
HDVinnie
2020-02-12 17:41:17 +00:00
committed by StyleCI Bot
parent 611fcd6bc1
commit 8d72989943
51 changed files with 113 additions and 6 deletions
@@ -50,6 +50,7 @@ class FollowController extends Controller
return redirect()->route('users.show', ['username' => $user->username])
->withSuccess('You are now following '.$user->username);
}
return redirect()->route('users.show', ['username' => $user->username])
->withErrors('You are already following this user');
}
@@ -76,6 +77,7 @@ class FollowController extends Controller
return redirect()->route('users.show', ['username' => $user->username])
->withSuccess('You are no longer following '.$user->username);
}
return redirect()->route('users.show', ['username' => $user->username])
->withErrors('You are not following this user to begin with');
}