diff --git a/app/Http/Controllers/ClientPortal/TaskController.php b/app/Http/Controllers/ClientPortal/TaskController.php index e4fd9c70a7..1319bda3d6 100644 --- a/app/Http/Controllers/ClientPortal/TaskController.php +++ b/app/Http/Controllers/ClientPortal/TaskController.php @@ -14,7 +14,6 @@ namespace App\Http\Controllers\ClientPortal; use App\Http\Controllers\Controller; use App\Http\Requests\ClientPortal\Tasks\ShowTasksRequest; -use Illuminate\Http\Request; class TaskController extends Controller { @@ -26,6 +25,10 @@ class TaskController extends Controller */ public function index(ShowTasksRequest $request) { + \Carbon\Carbon::setLocale( + auth('contact')->user()->preferredLocale() + ); + return render('tasks.index'); } }