Rewrite about page using own route (Close #48).

This commit is contained in:
David Molineus
2018-10-30 12:38:46 +01:00
parent 7aa4f38902
commit d2338332b4
10 changed files with 301 additions and 167 deletions

View File

@@ -61,11 +61,6 @@ class Plugin implements BundlePluginInterface, RoutingPluginInterface
return null;
}
$collection = $loader->load(__DIR__ . '/../Resources/config/routing.yml');
if ($collection instanceof RouteCollection) {
$collection->addPrefix('leaflet/api');
}
return $collection;
return $loader->load(__DIR__ . '/../Resources/config/routing.yml');
}
}