Symfony: Special routing for mobile browsers

Posted by Migol on Stack Overflow See other posts from Stack Overflow or by Migol
Published on 2010-03-22T15:33:56Z Indexed on 2010/03/22 15:41 UTC
Read the original article Hit count: 195

Filed under:
|
|

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

© Stack Overflow or respective owner

Related posts about symfony

Related posts about routing