samedi 19 avril 2014

Split routing config files by host


Vote count:

0




I have this routing.yml



backend_routes:
resource: "%kernel.root_dir%/config/routing_backend.yml"
host: "backend.com"

frontend_routes:
resource: "%kernel.root_dir%/config/routing_frontend.yml"
host: "frontend.com"


But routing knows hothing about %kernel.root_dir% parameter. How i can set it parameter to routing.yml?



asked 32 secs ago

Neka

128





Aucun commentaire:

Enregistrer un commentaire