Browse Source

MerchantResolver

packProduct
Guillaume 3 years ago
parent
commit
28a2b901f4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Resolver/MerchantResolver.php

+ 1
- 1
Resolver/MerchantResolver.php View File

if ($this->urlResolver->isServerLocalhost()) { if ($this->urlResolver->isServerLocalhost()) {
return $this->router->generate('frontend_home', ['section' => $section->getSlug()], UrlGeneratorInterface::ABSOLUTE_URL); return $this->router->generate('frontend_home', ['section' => $section->getSlug()], UrlGeneratorInterface::ABSOLUTE_URL);
} else { } else {
return $section->getMerchant()->getSettingValue(MerchantSettingDefinition::SETTING_URL);
return $this->settingSolver->getSettingValue($section->getMerchant(), MerchantSettingDefinition::SETTING_URL);
} }
} }



Loading…
Cancel
Save