Skip to content

Commit

Permalink
Merge branch '2.3' into 2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverryan committed Dec 23, 2013
2 parents 2cbca5f + 34eceb1 commit 14b0c47
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion book/routing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1258,7 +1258,7 @@ route. With this information, any URL can easily be generated::
:class:`Symfony\\Bundle\\FrameworkBundle\\Controller\\Controller`,
you can use the
:method:`Symfony\\Bundle\\FrameworkBundle\\Controller\\Controller::generateUrl`
method, which call's the router service's
method, which calls the router service's
:method:`Symfony\\Component\\Routing\\Router::generate` method.

In an upcoming section, you'll learn how to generate URLs from inside templates.
Expand Down
4 changes: 2 additions & 2 deletions book/security.rst
Original file line number Diff line number Diff line change
Expand Up @@ -902,7 +902,7 @@ the trusted reverse proxy cache.
does not restrict to a specific IP address. Instead, using the ``ip``
key means that the ``access_control`` entry will only match this IP address,
and users accessing it from a different IP address will continue down
the ``acces_control`` list.
the ``access_control`` list.

Here is an example of how you might secure all ESI routes that start with a
given prefix, ``/esi``, from outside access:
Expand Down Expand Up @@ -1653,7 +1653,7 @@ Roles

The idea of a "role" is key to the authorization process. Each user is assigned
a set of roles and then each resource requires one or more roles. If the user
has the required roles, access is granted. Otherwise access is denied.
has any one of the required roles, access is granted. Otherwise access is denied.

Roles are pretty simple, and are basically strings that you can invent and
use as needed (though roles are objects internally). For example, if you
Expand Down
2 changes: 1 addition & 1 deletion reference/constraints/Valid.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ an ``Address`` instance in the ``$address`` property.
.. code-block:: php
// src/Acme/HelloBundle/Entity/Author.php
namespace Amce\HelloBundle\Entity;
namespace Acme\HelloBundle\Entity;
class Author
{
Expand Down

0 comments on commit 14b0c47

Please sign in to comment.