Skip to content

Commit

Permalink
Fix method name, reorganize footer
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Nov 18, 2011
1 parent 6cdefe1 commit 9ee36f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
15 changes: 2 additions & 13 deletions app/Resources/views/base.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -38,22 +38,11 @@
<footer id="footer">
<div class="row">
<div class="sixcol blockcol small_search">
{% block footer_search %}
<p class="title">Rechercher</p>
{% include "LtcCoreBundle:Search:form.html.twig" %}
{% endblock %}
</div>
{% include "::menu.html.twig" with {"lastcol": "fourcol"} %}
</div>
<div class="row">
<div class="right">
Les Trois Couronnes - &copy; 2011 Pascal Duplessis<br />
<a class="js_email"></a>
</div>
<div class="letd">
Réalisation : <a href="http://github.com/ornicar">Thibault Duplessis</a><br />
<a class="js_email"></a><br /><br />
Ce site est OpenSource : <a href="http://github.com/ornicar/ltc">Voir le code</a>
</div>
{% include "::menu.html.twig" with {"lastcol": "fourcol"} %}
</div>
</footer>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/Ltc/StoryBundle/Controller/StoryController.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function viewAction($slug)
if (!$story) {
throw new NotFoundHttpException();
}
$stories = $this->get('ltc_story.repository.story')->findAllSortedByCreatedAt();
$stories = $this->get('ltc_story.repository.story')->findAll();

return $this->render('LtcStoryBundle:Story:view.html.twig', array('story' => $story, 'stories' => $stories));
}
Expand Down

0 comments on commit 9ee36f3

Please sign in to comment.