Версия 0.1.0 #1

Merged
kor-elf merged 20 commits from develop into main 2024-04-24 21:56:47 +05:00
Showing only changes of commit a648ba3db9 - Show all commits

View File

@ -24,8 +24,10 @@ public function url(Project $project, ?ProjectLanguage $language = null): string
$prefixLanguage = '-language'; $prefixLanguage = '-language';
} }
return match ($this) { $route = match ($this) {
self::Home => \route($prefixProject . 'home' . $prefixLanguage, $parameters), self::Home => \route($prefixProject . 'home' . $prefixLanguage, $parameters, false),
}; };
return $project->http_host . $route;
} }
} }