app/controllers/admin/groups_controller.rb in radiant-reader-extension-3.0.35 vs app/controllers/admin/groups_controller.rb in radiant-reader-extension-3.0.36
- old
+ new
@@ -7,10 +7,10 @@
def show
end
def load_models
- self.models = paginated? ? model_class.roots.paginate(pagination_parameters) : model_class.roots.all
+ self.models = paginated? ? model_class.paginate(pagination_parameters) : model_class.all
end
def load_model
self.model = if params[:id]
model_class.find(params[:id])