From 9c323ce598bb149ed091e3a61cac95891d4885ef Mon Sep 17 00:00:00 2001 From: Adam Piontek Date: Wed, 24 Feb 2021 19:52:56 -0500 Subject: [PATCH] modify web view to accommodate templates in subdirs --- lib/bones73k_web.ex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/bones73k_web.ex b/lib/bones73k_web.ex index 6b3f2d4..bb72582 100644 --- a/lib/bones73k_web.ex +++ b/lib/bones73k_web.ex @@ -31,7 +31,8 @@ defmodule Bones73kWeb do quote do use Phoenix.View, root: "lib/bones73k_web/templates", - namespace: Bones73kWeb + namespace: Bones73kWeb, + pattern: "**/*" # Import convenience functions from controllers import Phoenix.Controller,