$this->getContext()->getRouting()->getCurrentRouteName()
On Wed, Apr 21, 2010 at 10:51 PM, comb wrote:
> Hi!
>
> I have two routes:
> routing.yml
> video_list_category_bestrated:
> url: /video/category/:category_slug/bestrated
> class: sfDoctrineRoute
> options: { model: VideoCategory, typ
Hi!
I have two routes:
routing.yml
video_list_category_bestrated:
url: /video/category/:category_slug/bestrated
class: sfDoctrineRoute
options: { model: VideoCategory, type: object }
param: { module: video, action: category }
requirements:
sf_method: [get]
video_list_category: