summaryrefslogtreecommitdiff
path: root/lib/lsg.ex
diff options
context:
space:
mode:
authorhref <href@random.sh>2018-02-17 21:21:42 +0100
committerhref <href@random.sh>2018-02-17 21:21:42 +0100
commit50c6a09ff64cb081b27a0c30790b86873449d172 (patch)
treeba1bebfc7e367f169276692e0ac02709d62d6516 /lib/lsg.ex
parenttxt: fix against malicious filenames (aka 'fuck you shiv') (diff)
:)
Diffstat (limited to 'lib/lsg.ex')
-rw-r--r--lib/lsg.ex10
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/lsg.ex b/lib/lsg.ex
index d2076f8..ab53a70 100644
--- a/lib/lsg.ex
+++ b/lib/lsg.ex
@@ -1,9 +1,7 @@
defmodule LSG do
- @moduledoc """
- LSG keeps the contexts that define your domain
- and business logic.
- Contexts are also responsible for managing your data, regardless
- if it comes from the database, an external API or others.
- """
+ def data_path do
+ Application.get_env(:lsg, :data_path)
+ end
+
end