Skip to content

Commit

Permalink
Tag response
Browse files Browse the repository at this point in the history
  • Loading branch information
bytehead committed Jan 11, 2022
1 parent e97704c commit 971a70a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;

class RootPageDependentModuleController extends AbstractFragmentController
class RootPageDependentModulesController extends AbstractFragmentController
{
public function __invoke(Request $request, ModuleModel $model, string $section, array $classes = null): Response
{
Expand All @@ -38,6 +38,7 @@ public function __invoke(Request $request, ModuleModel $model, string $section,

$response = new Response($content);

$this->tagResponse($model);
$this->markResponseForInternalCaching($response);

return $response;
Expand Down

0 comments on commit 971a70a

Please sign in to comment.