Commit f2781413 authored by Sean Madsen's avatar Sean Madsen

Merge branch '82-stable-redirect' into 'master'

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

Closes #82

See merge request !81
parents 2090cd0d 07d04a12
......@@ -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