Thats correct that :except can be an array of values but if gave them 
user can also see access the pages .. even if he is neither a admin nor 
tailor ..
you mean to say that i have to do in this way ..
before_filter :authorize_admin, :except => [:def, :xyz]


Frederick Cheung wrote:
> On Sep 15, 1:18�pm, Hemant Bhargava <[email protected]>
> wrote:
>>
> The value of :except can be an array of values. Or you may be in a
> case where you just need to add that logic to authorize_admin.
> 
> Fred

-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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