Skip to content

Commit

Permalink
Fixed syntax highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
rvanlaarhoven committed Mar 12, 2014
1 parent 876a55d commit 7eb3051
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cookbook/security/voters_data_permission.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ Creating the Custom Voter
-------------------------

The goal is to create a voter that checks if a user has access to view or
edit a particular object. Here's an example implementation::
edit a particular object. Here's an example implementation

.. code-block:: php
// src/Acme/DemoBundle/Security/Authorization/Voter/PostVoter.php
namespace Acme\DemoBundle\Security\Authorization\Voter;
Expand Down

0 comments on commit 7eb3051

Please sign in to comment.