Skip to content

[Routing] Update page_creation.rst remove confusing unstyled diff symbol #18763

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 28, 2023

Conversation

gizmola
Copy link
Contributor

@gizmola gizmola commented Aug 17, 2023

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.

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.
@carsonbot carsonbot added this to the 5.4 milestone Aug 17, 2023
@@ -104,7 +104,7 @@ You can now add your route directly *above* the controller:
// src/Controller/LuckyController.php

// ...
+ use Symfony\Component\Routing\Annotation\Route;
use Symfony\Component\Routing\Annotation\Route;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we also need to remove the plus character on lines 111 to 113 as well as on lines 125 and 129

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed the extra + while merging. Thanks!

@carsonbot carsonbot changed the title Update page_creation.rst remove confusing unstyled diff symbol [Routing] Update page_creation.rst remove confusing unstyled diff symbol Aug 28, 2023
@javiereguiluz javiereguiluz merged commit 8d5cd7d into symfony:5.4 Aug 28, 2023
@javiereguiluz
Copy link
Member

Good catch David! Thanks and congrats on your first Symfony Docs contribution 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants