11 lines
264 B
PHP
11 lines
264 B
PHP
|
<?php
|
||
|
use Symfony\Component\Routing\RouteCollection;
|
||
|
use Symfony\Component\Routing\Route;
|
||
|
|
||
|
$collection = new RouteCollection();
|
||
|
$collection->add('blog_show', new Route('/blog/{slug}', array(
|
||
|
'_controller' => 'MyBlogBundle:Blog:show',
|
||
|
)));
|
||
|
|
||
|
return $collection;
|