redefine method model_class for admin posts controller to user ResourceController