how to dry controller index actions