gregbell/active_admin — Issue #642: How to overwrite index collection or show/hide records?
Author: releu
Created: 2011-10-18 13:32:29+00:00
State: open

I have AdminUser and Post.

Post belongs_to AdminUser

In the index action I should show only author posts (Post.where(:admin_user_id => current_admin_user.id)).

How I can do it?

Thanks.