/**
  * Create a new controller instance.
  *
  * @param  CodexRepositoryInterface $codex
  * @return void
  */
 public function __construct(CodexRepositoryInterface $codex)
 {
     $this->codex = $codex;
     $this->defaultManual = $this->codex->getDefaultManual();
     $this->defaultVersion = $this->codex->getDefaultVersion($this->defaultManual);
     $this->rootUrl = $this->defaultManual . '/' . $this->defaultVersion;
     parent::__construct();
 }