modify web view to accommodate templates in subdirs
This commit is contained in:
parent
370ac77cfd
commit
9c323ce598
1 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue