Update NewroomController, update title length limit from 25 to 40

This commit is contained in:
Daniel Supernault 2020-02-18 00:34:59 -07:00
parent b944dc3a5f
commit c568d54893
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -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')