changed route to get for rails v4