Packages

Squid is a framework that helps you divide your application into multiple small contexts and/or applications called `tentacles`.

Current section

Files

Jump to
squid lib squid_web head_router.ex
Raw

lib/squid_web/head_router.ex

defmodule SquidWeb.HeadRouter do
@moduledoc """
The main purpose of the HeadRouter is to dispatch requests and
act as a proxy. We highly recommend to not use it in your code.
"""
def init(opts), do: opts
def call(_, _opts) do
raise """
The HeadRouter is not correctly configured, verify have the
following code in one of your applications:
SquidWeb.create_dynamic_router()
"""
end
end