aboutsummaryrefslogtreecommitdiff
path: root/shardweb/lib/shard_web.ex
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2018-09-26 18:14:32 +0200
committerAlex Auvolat <alex@adnab.me>2018-09-26 18:14:32 +0200
commit26629dc30a116204263ac4b515600649ba742ba0 (patch)
treea066688ce44e028abd188867bc92b72496d4893a /shardweb/lib/shard_web.ex
parent1a13285971ef728109011a93e676e26248b30242 (diff)
downloadshard-26629dc30a116204263ac4b515600649ba742ba0.tar.gz
shard-26629dc30a116204263ac4b515600649ba742ba0.zip
Web UI for multiple identities
Diffstat (limited to 'shardweb/lib/shard_web.ex')
-rw-r--r--shardweb/lib/shard_web.ex3
1 files changed, 3 insertions, 0 deletions
diff --git a/shardweb/lib/shard_web.ex b/shardweb/lib/shard_web.ex
index 5192806..049da29 100644
--- a/shardweb/lib/shard_web.ex
+++ b/shardweb/lib/shard_web.ex
@@ -20,6 +20,7 @@ defmodule ShardWeb do
def controller do
quote do
use Phoenix.Controller, namespace: ShardWeb
+ import PhoenixGon.Controller
import Plug.Conn
import ShardWeb.Router.Helpers
import ShardWeb.Gettext
@@ -37,6 +38,8 @@ defmodule ShardWeb do
# Use all HTML functionality (forms, tags, etc)
use Phoenix.HTML
+ import PhoenixGon.View
+
import ShardWeb.Router.Helpers
import ShardWeb.ErrorHelpers
import ShardWeb.Gettext