Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 510 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 510 Bytes

concerto_plug

Plug integration for Concerto

Installation

If available in Hex, the package can be installed as:

  1. Add concerto_plug to your list of dependencies in mix.exs:
```elixir
def deps do
  [{:concerto_plug, "~> 0.1.0"}]
end
```

Usage

defmodule MyRouter do
  use Concerto, [root: "#{System.cwd!}/fixtures",
                 ext: ".ex",
                 module_prefix: MyApp.Resource]

  use Concerto.Plug.Mazurka
end