ade83e2e80
Controllers: "BlogBundle:Post:show" is now "Blog:Post:show" Templates: "BlogBundle:Post:show.html.twig" is now "Blog:Post:show.html.twig" Resources: "@BlogBundle/Resources/config/blog.xml" is now "@Blog/Resources/config/blog.xml" Doctrine: "$em->find('BlogBundle:Post', $id)" is now "$em->find('Blog:Post', $id)"
14 lines
511 B
XML
14 lines
511 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<routes xmlns="http://symfony.com/schema/routing"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd">
|
|
|
|
<route id="blog_show" pattern="/blog/{slug}">
|
|
<default key="_controller">My:Blog:show</default>
|
|
<requirement key="_method">GET</requirement>
|
|
<option key="segment_separators">/</option>
|
|
<foo key="bar">baz</foo>
|
|
</route>
|
|
</routes>
|