public function ban($hash) { $user = User::where('public_hash', $hash)->firstOrFail(); Ban::banComments(self::userFp(), $user->user_fp); return Redirect::to('@' . $user->public_hash); }
public function ban($hash) { $user = User::where('public_hash', $hash)->firstOrFail(); Ban::banComments(self::userFp(), $user->user_fp); return Redirect::to('@' . $user->public_hash); }