aboutsummaryrefslogtreecommitdiff
path: root/shardweb/lib/views/directory_view.ex
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2018-11-02 14:04:52 +0100
committerAlex Auvolat <alex@adnab.me>2018-11-02 14:04:52 +0100
commit94b1f6b0ae387b7fcb0714a4c6e213212097a100 (patch)
tree33fa5f6f626b075c389b4bb977d9fbb5e7e05c37 /shardweb/lib/views/directory_view.ex
parent3baa53f1da7f581619b066832b8303efbe9a46ba (diff)
downloadshard-94b1f6b0ae387b7fcb0714a4c6e213212097a100.tar.gz
shard-94b1f6b0ae387b7fcb0714a4c6e213212097a100.zip
Directory stuff
Diffstat (limited to 'shardweb/lib/views/directory_view.ex')
-rw-r--r--shardweb/lib/views/directory_view.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/shardweb/lib/views/directory_view.ex b/shardweb/lib/views/directory_view.ex
index acbd950..ea31482 100644
--- a/shardweb/lib/views/directory_view.ex
+++ b/shardweb/lib/views/directory_view.ex
@@ -4,6 +4,6 @@ defmodule ShardWeb.DirectoryView do
def dir_contents(_conn, manifest) do
IO.puts(inspect manifest)
pid = Shard.Manager.find_or_start manifest
- SApp.Directory.get_files pid
+ SApp.Directory.get_items pid
end
end