Skip to content

Commit

Permalink
Upgrade example controller to use new controller
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz committed Aug 8, 2024
1 parent 8ab47bd commit 64ef401
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Tests/Application/config/templates/examples/default.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<key>default</key>

<view>@ExampleTest/examples/default</view>
<controller>Sulu\Bundle\WebsiteBundle\Controller\DefaultController::indexAction</controller>
<controller>Sulu\Bundle\ContentBundle\Content\UserInterface\Controller\Website\ContentController::indexAction</controller>
<cacheLifetime>604800</cacheLifetime>

<meta>
Expand Down
2 changes: 1 addition & 1 deletion Tests/Application/config/templates/examples/example-2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<key>example-2</key>

<view>@ExampleTest/examples/example-2</view>
<controller>Sulu\Bundle\WebsiteBundle\Controller\DefaultController::indexAction</controller>
<controller>Sulu\Bundle\ContentBundle\Content\UserInterface\Controller\Website\ContentController::indexAction</controller>
<cacheLifetime>604800</cacheLifetime>

<meta>
Expand Down
2 changes: 1 addition & 1 deletion Tests/Application/config/templates/examples/no-route.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<key>no-route</key>

<view>@ExampleTest/examples/example-2</view>
<controller>Sulu\Bundle\WebsiteBundle\Controller\DefaultController::indexAction</controller>
<controller>Sulu\Bundle\ContentBundle\Content\UserInterface\Controller\Website\ContentController::indexAction</controller>
<cacheLifetime>604800</cacheLifetime>

<meta>
Expand Down

0 comments on commit 64ef401

Please sign in to comment.