Symfony: Special routing for mobile browsers
- by Migol
Is there any way that I can detect browser type on routing and use specific controller? I want to be able to do something like this in routing.yml:
mobile:
url: /*
requirements:
browser: mobile