We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f137ef commit c8a8c46Copy full SHA for c8a8c46
1 file changed
backend/lib/edgehog_web.ex
@@ -1,7 +1,6 @@
1
-#
2
# This file is part of Edgehog.
3
#
4
-# Copyright 2021-2023 SECO Mind Srl
+# Copyright 2021-2026 SECO Mind Srl
5
6
# Licensed under the Apache License, Version 2.0 (the "License");
7
# you may not use this file except in compliance with the License.
@@ -16,7 +15,6 @@
16
15
# limitations under the License.
17
18
# SPDX-License-Identifier: Apache-2.0
19
20
21
defmodule EdgehogWeb do
22
@moduledoc """
@@ -41,7 +39,7 @@ defmodule EdgehogWeb do
41
39
def controller do
42
40
quote do
43
use Gettext, backend: EdgehogWeb.Gettext
44
- use Phoenix.Controller, namespace: EdgehogWeb
+ use Phoenix.Controller, formats: [json: "View"]
45
46
import Plug.Conn
47
0 commit comments