Permalink
Browse files

minor #3669 Fixed syntax highlighting (rvanlaarhoven)

This PR was merged into the master branch.

Discussion
----------

Fixed syntax highlighting

Fixed syntax highlighting for the PostVoter example

Commits
-------

484b7b9 Added :
7eb3051 Fixed syntax highlighting
  • Loading branch information...
weaverryan committed Mar 13, 2014
2 parents 857725b + 484b7b9 commit 739f43fee9b3e4ddc091aa1ab452d6d1154ee467
Showing with 3 additions and 1 deletion.
  1. +3 −1 cookbook/security/voters_data_permission.rst
@@ -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;

0 comments on commit 739f43f

Please sign in to comment.