Ensure routing is the same in rails 4 as it was in rails 3