Ruby on Rails Tuesday, November 23, 2010

Hi to all.

How can we specify access to the some specific method of a controller.

like we can specify things like:

can :manage, User

if user have two custom methods like , method1 and method2
and i want to give access to method1 but not to method2

How can i do so?

Waiting for someones response.

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment