<?php
{% block use_statements %}
use Symfony\Component\Routing\RouteCollection;
use Symfony\Component\Routing\Route;
{% endblock use_statements %}
{% block definition %}
$collection = new RouteCollection();
{% endblock definition %}
{% block body %}
$collection->add('{{ extension_alias }}_homepage', new Route('/', array(
'_controller' => '{{ bundle }}:Default:index',
)));
{% endblock body %}
{% block return %}
return $collection;
{% endblock return %}
|