Now fetching news from the database

This commit is contained in:
Polonkai Gergely
2012-07-03 18:05:09 +02:00
parent 8b0e8e1a29
commit 20fea814e4
6 changed files with 325 additions and 30 deletions

View File

@@ -5,3 +5,9 @@ services:
# kek_rozsak_front.example:
# class: %kek_rozsak_front.example.class%
# arguments: [@service_id, "plain_value", %parameter%]
kek_rozsak_front.twig_extension.news:
class: KekRozsak\FrontBundle\Twig\NewsExtension
arguments:
doctrine: @doctrine
tags:
- { name: twig.extension }