Skip to content

Added a note about configuring several paths under the same namespace #3877

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 4 commits into from
Jun 4, 2014
Merged

Added a note about configuring several paths under the same namespace #3877

merged 4 commits into from
Jun 4, 2014

Conversation

javiereguiluz
Copy link
Member

Q A
Doc fix? no
New docs? yes
Applies to 2.3+
Fixed tickets #3661

@@ -81,3 +81,56 @@ called ``sidebar.twig`` in that directory, you can use it easily:
.. code-block:: jinja

{% include '@foo_bar/sidebar.twig' %}

Multiple paths per namespace
Copy link
Member

Choose a reason for hiding this comment

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

Multiple Paths per Namespace (everything should be capitalized except from closed-class words)

Copy link
Member Author

Choose a reason for hiding this comment

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

I dont understand this comment. The original headings of this article were: How to use and Register namespaced Twig Paths and Registering your own namespaces. Are they correct? Should I fix them too?

Copy link
Member

Choose a reason for hiding this comment

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

Hmm, those are indeed also incorrect. They should be "How to Use and Register Namespaced Twig Paths" and "Registering your own Namespaces"

Copy link
Member Author

Choose a reason for hiding this comment

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

thank you @wouterj! Everything is fixed now.

);
));

Now you can use the same ``@theme`` namespace to refer to any template located
Copy link
Member

Choose a reason for hiding this comment

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

add a comma after Now

@weaverryan
Copy link
Member

Awesome Javier!

@weaverryan weaverryan merged commit fb5388c into symfony:2.3 Jun 4, 2014
weaverryan added a commit that referenced this pull request Jun 4, 2014
…same namespace (javiereguiluz)

This PR was merged into the 2.3 branch.

Discussion
----------

Added a note about configuring several paths under the same namespace

| Q             | A
| ------------- | ---
| Doc fix?      | no
| New docs?     | yes
| Applies to    | 2.3+
| Fixed tickets | #3661

Commits
-------

fb5388c Added a comma
40524ca Fixed the case of the headings
857c6cd Minor simplification of the XML code
29863f1 Added a note about configuring several paths under the same namespace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants