Skip to content

Commit

Permalink
Merge branch '2.7' into 2.8
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed Jul 15, 2015
2 parents dc173b6 + 9755846 commit 571ed5b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion cookbook/security/voters_data_permission.rst
Expand Up @@ -111,7 +111,8 @@ edit a particular object. Here's an example implementation:
}
break;
}
return false;
}
}
Expand Down
2 changes: 1 addition & 1 deletion cookbook/serializer.rst
Expand Up @@ -169,7 +169,7 @@ to your class and choose which groups to use when serializing::
$serializer = $this->get('serializer');
$json = $serializer->serialize(
$someObject,
'json', array('groups' => array('group1')
'json', array('groups' => array('group1'))
);

.. _cookbook-serializer-enabling-metadata-cache:
Expand Down

0 comments on commit 571ed5b

Please sign in to comment.