defmodule ShardWeb.DirectoryView do use ShardWeb, :view def dir_contents(_conn, manifest) do IO.puts(inspect manifest) pid = Shard.Manager.find_or_start manifest SApp.Directory.get_items pid end end