On Fri, Oct 26, 2012 at 7:13 PM, Raakesh kumar <kumar3...@gmail.com> 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
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd

Reply via email to