controller.controller_ name

hey guys really got stuck and i guess this is the place where i
can get a solution. I want to retrieve the controller name in a layout
so i am using the following command controller.controller_ name But what if i have a namespace and in the two different folder i have the same controller name then wat to do ?

Regards
Abhis

Quick answer: the controller and action names are kept in the params hash

Andrew Timberlake
http://ramblingsonrails.com

http://MyMvelope.com - The SIMPLE way to manage your savings