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
On Tue, Jun 30, 2009 at 8:15 PM, Abhishek shukla[email protected]
wrote:
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 T.
http://ramblingsonrails.com
http://MyMvelope.com - The SIMPLE way to manage your savings