diff --git a/app/Abstracts/View/Components/Documents/Template.php b/app/Abstracts/View/Components/Documents/Template.php index c1ab0650f..f169dc0e6 100644 --- a/app/Abstracts/View/Components/Documents/Template.php +++ b/app/Abstracts/View/Components/Documents/Template.php @@ -550,11 +550,6 @@ abstract class Template extends Component return $showContactRoute; } - - if (! empty($showRoute)) { - return $showRoute; - } - $route = $this->getRouteFromConfig($type, 'contact.show', 1); if (!empty($route)) {