fix to show resource actions on has_many relations