[COMPONENT][Collection] Refactoring: Further work in abstracting collections

This commit is contained in:
2022-01-02 20:04:52 +00:00
parent def5f36c25
commit 5fa8056899
38 changed files with 119 additions and 77 deletions

View File

@@ -35,7 +35,7 @@ use App\Util\Exception\NoLoggedInUser;
use App\Util\Exception\NoSuchNoteException;
use App\Util\Exception\RedirectException;
use App\Util\Exception\ServerException;
use Component\Feed\Util\FeedController;
use Component\Collection\Util\Controller\FeedController;
use Symfony\Component\Form\Extension\Core\Type\SubmitType;
use Symfony\Component\HttpFoundation\Request;
@@ -174,7 +174,7 @@ class Favourite extends FeedController
);
return [
'_template' => 'feed/feed.html.twig',
'_template' => 'collection/notes.html.twig',
'page_title' => 'Favourites feed.',
'notes' => $notes,
];
@@ -207,7 +207,7 @@ class Favourite extends FeedController
);
return [
'_template' => 'feed/feed.html.twig',
'_template' => 'collection/notes.html.twig',
'page_title' => 'Reverse favourites feed.',
'notes' => $notes,
];