I want to match a route only when there is no subdomain in the url:
Here is the route where I match the subdomain being "api"
/**
* @Route("/properties/save", host="api.{host}", name="api_property_save",requirements={"host"=".*"},methods={"PUT"})
*/
public function saveApi()
{
...
Here I would like to match only if there is no subdomain specified.
/**
* @Route("/properties/save", name="property_save")
*/
public function save()
{
...