Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Small clarification to routing.rst#2854

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

alexcoventry
Copy link
Contributor

Minor clarification to php examples for generating URLs from paths (removal of a variable the examples don't define, which can be confusing if you jump straight into the middle of the document.)

@@ -1201,7 +1201,7 @@ By default, the router will generate relative URLs (e.g. ``/blog``). To generate
an absolute URL, simply pass ``true`` to the third argument of the ``generate()``
method::

$router->generate('blog_show', array('slug' => 'my-blog-post'), true);
$this-get('router')->generate('blog_show', array('slug' => 'my-blog-post'), true);
Copy link
Member

Choose a reason for hiding this comment

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

$this->get('router')

weaverryan added a commit that referenced this pull requestAug 10, 2013
weaverryan added a commit that referenced this pull requestAug 10, 2013
@weaverryan
Copy link
Member

Hi Alex!

Thanks for this clarification! I've patched this into the 2.2 branch at sha:e99defc and with some tweaks thanks to@xabbuh at sha:61c464e and sha:e3265ce

Thanks!

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@alexcoventry@weaverryan@xabbuh

[8]ページ先頭

©2009-2025 Movatter.jp