Last active
February 9, 2016 09:21
-
-
Save willrax/afc2e652f9c4a80efcb2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule Plugger.Router do | |
use Plug.Router | |
plug :match | |
plug :dispatch | |
def start_link do | |
Plug.Adapters.Cowboy.http(Plugger.Router, []) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment