Extracting to View Composers

Written by Laracasts / Original link on Mar. 28, 2017

Currently, we have two different SQL queries for fetching all channels directly in our view layer. Let's fix that by extracting a dedicated view composer.


« A User Can Filter All Threads By Username - Validation Errors and Old Data »