@@ -65,8 +65,7 @@ |
||
| 65 | 65 | $article = $em->getRepository('AppBundle:Article') |
| 66 | 66 | ->find($id); |
| 67 | 67 | $title = 'Edit article id: '.$id; |
| 68 | - } |
|
| 69 | - else { |
|
| 68 | + } else { |
|
| 70 | 69 | $article = new Article(); |
| 71 | 70 | $title = 'Create new article'; |
| 72 | 71 | } |