Ooof, got the dependencies all up to date as well

Lots of tests needed fixing, but it seemed to be a whitespace parsing
error in the view files 🤔
This commit is contained in:
Jonny Barnes 2019-10-27 16:15:14 +00:00
parent ec01b3c6a2
commit b2b6693aec
61 changed files with 2057 additions and 1441 deletions

View file

@ -6,6 +6,7 @@ use App\Models\Like;
use App\Models\Note;
use App\Models\Article;
use App\Models\Bookmark;
use App\Services\ActivityStreamsService;
class FrontPageController extends Controller
{
@ -14,6 +15,10 @@ class FrontPageController extends Controller
*/
public function index()
{
if (request()->wantsActivityStream()) {
return (new ActivityStreamsService())->siteOwnerResponse();
}
$pageNumber = request()->query('page') ?? 1;
$notes = Note::latest()->get();