stop writing the same controller actions for resources