I am using annotations to generate my routes with Symfony2.3. My routes work perfectly fine in dev environment, but the server gives me 404 when I try to access them in prod. I have warmed up and cleared my cache several times to no result. I am totally lost. I don't understand why everything works fine in dev, but not in prod.
Anyone has an idea ?
Edit : This is app/config/routing.yml
hakim_admin:
resource: "@HakimAdminBundle/Controller"
type: annotation
prefix: /
hakim_resume:
resource: "@HakimResumeBundle/Controller"
type: annotation
prefix: /
And this is app/config/routing_dev.yml
_wdt:
resource: "@WebProfilerBundle/Resources/config/routing/wdt.xml"
prefix: /_wdt
_profiler:
resource: "@WebProfilerBundle/Resources/config/routing/profiler.xml"
prefix: /_profiler
_configurator:
resource: "@SensioDistributionBundle/Resources/config/routing/webconfigurator.xml"
prefix: /_configurator
_main:
resource: routing.yml
JMSTranslationBundle_ui:
resource: @JMSTranslationBundle/Controller/
type: annotation
prefix: /_trans
Thanks