[fix] routes compatibility rails 4