diff --git a/guigur.com/.idea/workspace.xml b/guigur.com/.idea/workspace.xml index dcad6d9..72df831 100644 --- a/guigur.com/.idea/workspace.xml +++ b/guigur.com/.idea/workspace.xml @@ -2,7 +2,7 @@ - + @@ -187,12 +205,12 @@ @@ -411,12 +429,12 @@ - + - @@ -541,20 +559,6 @@ - - - - - - - - - - - - - - @@ -662,20 +666,34 @@ - + - - - - - + + - + - - + + + + + + + + + + + + + + + + + + + diff --git a/guigur.com/src/GuigurFrontBundle/Controller/ChangelogController.php b/guigur.com/src/GuigurFrontBundle/Controller/ChangelogController.php index 53b3e32..b8d9103 100644 --- a/guigur.com/src/GuigurFrontBundle/Controller/ChangelogController.php +++ b/guigur.com/src/GuigurFrontBundle/Controller/ChangelogController.php @@ -11,7 +11,7 @@ public function indexAction() { $Changelogs = $this->getDoctrine() ->getRepository('GuigurFrontBundle:Changelogs') - ->findAll(); + ->findBy(array(), array('id' => 'DESC')); $catchPhrase = $this->get('guigur.catchphrase')->requestCatchPhrase('changelog'); return $this->render('GuigurFrontBundle:Default:changelog.html.twig', array("Catchphrase" => $catchPhrase, "Changelogs" => $Changelogs));