/ Published in: Symfony
![](/img/icon_sav.png?v3)
I add this snippet because it's a little bit tricky to find it in API documentaion (it is in sfPatternRouting, not in sfRouting, like one would expect).
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
sfContext::getInstance()->getRouting()->getCurrentRouteName()
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)