Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Index action ... is that the way it should be written ? #551
I defined an ability for admin users to avoid display of superadmin info :
It seems I have to define the :index action like that : ( as described in the wiki pages , Admin.accessible_by(ability).paginate ..)
it running fine .... I tested without the ability check in the :index action and it's not fine , superadmin record is displayed ..
thanks for clarifying it ...
I think that this email reached me in error. I have nothing to do with this
On Fri, Jan 20, 2012 at 8:59 AM, Kadoudal <