Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Symfony 2.0.1 support #2

Merged
merged 1 commit into from

2 participants

@nLight

No description provided.

@lvanderree lvanderree merged commit 53d03d5 into from
@lvanderree
Owner

I am currently writing applications in Django, so I am not really using Symfony anymore.

However nice to see the code is being used!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 27, 2011
  1. @nLight

    Symfony 2.0.1 support

    nLight authored
This page is out of date. Refresh to see the latest.
View
2  README.markdown
@@ -29,7 +29,7 @@
# app/config/config.yml
# ...
imports:
- - { resource: DbRoutingBundle/Resources/config/routing.xml }
+ - { resource: @DbRoutingBundle/Resources/config/routing.xml }
### and add the tableName to your routing.yml
View
4 Resources/config/routing.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" ?>
-<container xmlns="http://www.symfony-project.org/schema/dic/services"
+<container xmlns="http://symfony.com/schema/dic/services"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.symfony-project.org/schema/dic/services http://www.symfony-project.org/schema/dic/services/services-1.0.xsd">
+ xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
<parameters>
<parameter key="routing.loader.db.class">Bundle\DbRoutingBundle\Routing\Loader\DbLoader</parameter>
View
4 Routing/Loader/DbLoader.php
@@ -5,8 +5,8 @@
use Doctrine\ORM\EntityManager,
Symfony\Component\Routing\RouteCollection,
Symfony\Component\Routing\Route,
- Symfony\Component\Routing\Loader\Loader;
-
+ Symfony\Component\Config\Loader\Loader;
+
/*
* This file is made by Leon
*
Something went wrong with that request. Please try again.