It's there on the wiki
https://github.com/plataformatec/devise/wiki/How-To:-Add-an-Admin-role

Ahmy Yulrizka


On Tue, Jan 10, 2012 at 9:29 PM, Walter Lee Davis <[email protected]>wrote:

>
> On Jan 9, 2012, at 5:09 AM, Kapil Kaligotla wrote:
>
> > hi,
> >   I am using rails 3.0.10, i had created user and admin using devise,
> > i want to make normal user as admin, can anyone help me on how to make
> > user as admin
> >
>
> Have you created two different models, one for admin and one for user? Or
> are you using an authorization scheme where you give individual users (all
> the same model) different roles?
>
> Walter
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to