aboutsummaryrefslogblamecommitdiff
path: root/shardweb/lib/views/directory_view.ex
blob: ea314828e363c872bfa097174785abcfd625cef6 (plain) (tree)
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_items pid
  end
end