Skip to content

Commit 8d5cd7d

Browse files
committed
minor #18763 [Routing] Update page_creation.rst remove confusing unstyled diff symbol (gizmola)
This PR was merged into the 5.4 branch. Discussion ---------- [Routing] Update page_creation.rst remove confusing unstyled diff symbol This is a left over from docs showing both annotation and attribute route methods. The plus sign isn't handled because the code block is not a diff. Issue was brought up by a confused user who thought that the plus sign was required syntax. <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `6.x` for features of unreleased versions). --> Commits ------- 019c4e1 Update page_creation.rst remove unstyled diff symbol
2 parents 87f58a9 + 019c4e1 commit 8d5cd7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

page_creation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ You can now add your route directly *above* the controller:
104104
// src/Controller/LuckyController.php
105105
106106
// ...
107-
+ use Symfony\Component\Routing\Annotation\Route;
107+
use Symfony\Component\Routing\Annotation\Route;
108108
109109
class LuckyController
110110
{

0 commit comments

Comments
 (0)