Skip to content

Commit 791223d

Browse files
committed
Fix phoenix warnings
1 parent 7f5253c commit 791223d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

lib/diff_web.ex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ defmodule DiffWeb do
1919

2020
def controller do
2121
quote do
22-
use Phoenix.Controller, namespace: DiffWeb
22+
use Phoenix.Controller, formats: [:html]
23+
24+
plug :put_layout, html: DiffWeb.LayoutView
2325

2426
import Plug.Conn
2527
import DiffWeb.Gettext

0 commit comments

Comments
 (0)