rails 4 route compatibility