Ensures Rails 4 routes compatibility for UI route