Fix bug with duplicate url route in controllers