Commit 07d04a12 authored by Sean Madsen's avatar Sean Madsen

Redirect 'stable' to 'latest', when no versions are defined

parent 2090cd0d
......@@ -72,7 +72,7 @@ class Language {
// If no versions were defined, then add one version (with default values)
if (count($this->versions) == 0) {
$this->versions[] = new Version();
$this->versions[] = new Version('latest', 'Latest', 'latest', 'master', ['stable', 'current']);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment