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

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

No files matched your search

+1 -6
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');
}
}