aboutsummaryrefslogtreecommitdiff
path: root/shardweb/lib/views/directory_view.ex
blob: 9ebdd3bee17b2592ebf3dd4fe60e8804df99e189 (plain) (blame)
1
2
3
4
5
6
7
8
9
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_files pid
  end
end