Moved set_objects to before_filter