Skip to content

Commit

Permalink
[#6218] Blend new sentence into previous paragraph
Browse files Browse the repository at this point in the history
  • Loading branch information
wouterj committed Jul 8, 2016
1 parent 443d61e commit 25ac5fe
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions book/routing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1471,7 +1471,7 @@ system. Take the ``blog_show`` example route from earlier::
// /blog/my-blog-post

To generate a URL, you need to specify the name of the route (e.g. ``blog_show``)
and any wildcards (e.g. ``slug`` = ``my-blog-post``) used in the path for that
and any wildcards (e.g. ``slug = my-blog-post``) used in the path for that
route. With this information, any URL can easily be generated::

class MainController extends Controller
Expand Down Expand Up @@ -1535,7 +1535,7 @@ Generating URLs from a Template

The most common place to generate a URL is from within a template when linking
between pages in your application. This is done just as before, but using
a template helper function:
the ``path()`` function to generate a relative URL:

.. configuration-block::

Expand Down Expand Up @@ -1577,8 +1577,6 @@ a template helper function:
) ?>";
</script>

The ``path()`` method generates relative URLs.

.. index::
single: Routing; Absolute URLs

Expand Down

0 comments on commit 25ac5fe

Please sign in to comment.