Skip to content

Commit b44513b

Browse files
committed
Correct dispatcher function name define_layers
Prevents error: dispatcher_1 | == Compilation error in file lib/dispatcher.ex == dispatcher_1 | ** (CompileError) lib/dispatcher.ex:12: undefined function layers/1
1 parent 02c944c commit b44513b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/dispatcher/dispatcher.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ defmodule Dispatcher do
99
@json %{ accept: %{ json: true } }
1010
@html %{ accept: %{ html: true } }
1111

12-
layers [ :static, :services, :fall_back, :not_found ]
12+
define_layers [ :static, :services, :fall_back, :not_found ]
1313

1414
# In order to forward the 'themes' resource to the
1515
# resource service, use the following forward rule:

0 commit comments

Comments
 (0)