HI all,

I need the linux expert for my linux proxy server configure. Please call me
on my mobile= 9654155625


Regards

Gulshan Kumar

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On
Behalf Of Harisankar P S
Sent: Friday, October 26, 2012 7:21 PM
To: Raakesh kumar
Cc: [email protected]
Subject: Re: [ilugd] Rails Application Help

On Fri, Oct 26, 2012 at 7:13 PM, Raakesh kumar <[email protected]> wrote:

>
>
> No in rolify and CanCan, basically i check for this by using 
> "user.has_role? :superadmin"..


Then just change the if condition accordingly, if user.has_role?
:super_admin
and place that code in the application_controller.rb

and it should work as you require.

--
Harisankar P S
_______________________________________________
Ilugd mailing list
[email protected]
http://frodo.hserus.net/mailman/listinfo/ilugd


_______________________________________________
Ilugd mailing list
[email protected]
http://frodo.hserus.net/mailman/listinfo/ilugd

Reply via email to