Rails 4 routes compatibility