<?php
namespace Gh\CommonBundle\Controller;
use Gh\CommonBundle\Classes\Meta\MetaClass;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
/**
* In this controller, a method is created for each component.
*
* @author jmboyer
*/
class ComponentController extends Controller
{
/**
* This component generates the meta tags in the HTML page.
* See Design Dossier for further details.
*
* @Template()
*/
public function metaAction() {
$metaList = MetaClass::getInstance()->getListMeta();
return array('metaList' => $metaList);
}
}