symfony - Symfony2: Splitting routing.yml in multiple files -
i have routing.yml file define routes of bundle. routing file growing bigger.
is there way split routing.yml file in multiple files? eg:
- user_routing.yml
- vehicles_routing.yml
- cost_centers_routing.yml
note: using symfony 2.2;
the routing.yml can split multiple files. can include separate routing files in routing.yml file.
acme_demo_user: resource: "@acmedemobundle/resources/config/routing/user_routing.yml" prefix: /user acme_demo_vehicles: resource: "@acmedemobundle/resources/config/routing/vehicles_routing.yml" prefix: /vehicles ............. .............
Comments
Post a Comment