Yeah, I think the two cases here are almost exactly analogous, so it would make sense to handle them in the same way. And the way you did it for EMs seemed to be a good approach, so I'd repeat it here.

-Adam
 
On Jun 20, 2013, at 11:05 PM, Austin Czarnecki <notifications@github.com> wrote:

> In app/controllers/equipment_objects_controller.rb:
> 
> >      elsif params[:show_deleted]
> > -      @equipment_objects = EquipmentObject.find(:all, :include => :equipment_model, :order => 'equipment_models.name ASC, equipment_objects.name ASC')
> > +      @equipment_objects = EquipmentObject.all
> Just to be clear, you want me to do this as I did above? That makes sense, I think I missed it because there's no analogous before_filter method. I can just make it and use the same ternary operation as above if you think that would be right.
> 
> —
> Reply to this email directly or view it on GitHub.
>