public function index(string $authorId, string $cabin = '')
{
$this->loadAuthorInfo((int) $authorId);
$this->files->ensureDirExists($this->root_dir, $cabin);
$this->files->ensureDirExists($this->root_dir . '/photos', $cabin);
$dir = $this->determinePath($cabin);
if (!\in_array($cabin, $this->getCabinNamespaces())) {
\Airship\redirect($this->airship_cabin_prefix);
}
return $this->commonIndex($dir, $cabin);
}