Permalink
Browse files

bug #4350 Removed extra parenthesis (sivolobov)

This PR was merged into the 2.3 branch.

Discussion
----------

Removed extra parenthesis

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?  | no
| Applies to    | all versions
| Fixed tickets | no tickets

Commits
-------

6e9e1e6 Removed extra parenthesis
  • Loading branch information...
wouterj committed Oct 21, 2014
2 parents c8f96c0 + 6e9e1e6 commit d49d51ff97ca74c5acaced86293f4c29639f0c84
Showing with 1 addition and 1 deletion.
  1. +1 −1 best_practices/business-logic.rst
@@ -104,7 +104,7 @@ Now you can use the custom slugger in any controller class, such as the
// ...
if ($form->isSubmitted() && $form->isValid()) {
$slug = $this->get('slugger')->slugify($post->getTitle()));
$slug = $this->get('slugger')->slugify($post->getTitle());
$post->setSlug($slug);
// ...

0 comments on commit d49d51f

Please sign in to comment.