Skip to content

Add cookbook entry about generating urls in console commands #1778

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

Closed
wants to merge 2 commits into from

Conversation

Seldaek
Copy link
Member

@Seldaek Seldaek commented Oct 3, 2012

Some docs love because I had to dig into the code to figure this out.. hopefully I didn't do a mess of the ReST formatting :)

----------------------------------------

To configure the Request Context - which is used by the URL Generator - you can
redefine the parameters it uses as default value to change the default host and
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this shoud say default values

.. code-block:: xml

<!-- app/config/parameters.xml -->

Copy link
Member

Choose a reason for hiding this comment

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

this line should be removed.

weaverryan added a commit that referenced this pull request Oct 8, 2012
@weaverryan
Copy link
Member

Hey Jordi!

This is really really great - a perfect cookbook article imo - solves a real-world problem with a very easy solution (but not easy if you have to dig for it). I've patched this into the 2.0 branch and tweaked a few things. @wouterj thanks as always for checking this out beforehand :) - I've made your changes as well.

Thanks guys!

@weaverryan weaverryan closed this Oct 8, 2012
@wouterj
Copy link
Member

wouterj commented Oct 8, 2012

@weaverryan you're welcome

@Seldaek
Copy link
Member Author

Seldaek commented Oct 8, 2012

Thanks for patching it up, I was traveling.

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