sonarrradarrplexorganizrnginxdashboardstartpagelandinghtpcserverhomepagesabnzbdheimdallembycouchpotatonzbgetbookmarkapplication-dashboardmuximuxlandingpage
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
474 B
18 lines
474 B
<?php
|
|
|
|
use Symfony\Component\Routing\Route;
|
|
use Symfony\Component\Routing\RouteCollection;
|
|
|
|
$collection = new RouteCollection();
|
|
$collection->add('blog_show', new Route(
|
|
'/blog/{slug}',
|
|
array('_controller' => 'MyBlogBundle:Blog:show'),
|
|
array('locale' => '\w+'),
|
|
array('compiler_class' => 'RouteCompiler'),
|
|
'{locale}.example.com',
|
|
array('https'),
|
|
array('GET', 'POST', 'put', 'OpTiOnS'),
|
|
'context.getMethod() == "GET"'
|
|
));
|
|
|
|
return $collection;
|
|
|