How do you specify in your application if he is admin or not. I do not use
cancan so not sure how if some function is available in cancan. But how I
would suggest is to use *before_filer* and check if admin or not.

Find a small code snipet https://gist.github.com/3958710

*assuming that user_level is stored in the user table

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

Reply via email to