From c568d548937f5696346668d14e66a75befe365c2 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Tue, 18 Feb 2020 00:34:59 -0700 Subject: [PATCH] Update NewroomController, update title length limit from 25 to 40 --- app/Http/Controllers/NewsroomController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/NewsroomController.php b/app/Http/Controllers/NewsroomController.php index 7c2f7adb..507ffeb2 100644 --- a/app/Http/Controllers/NewsroomController.php +++ b/app/Http/Controllers/NewsroomController.php @@ -65,7 +65,7 @@ class NewsroomController extends Controller ->map(function($post) { return [ 'id' => $post->id, - 'title' => Str::limit($post->title, 25), + 'title' => Str::limit($post->title, 40), 'summary' => $post->summary, 'url' => $post->show_link ? $post->permalink() : null, 'published_at' => $post->published_at->format('F m, Y')