Created
June 14, 2015 10:32
-
-
Save darui00kara/86df069517874292a482 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 TrotSample.Router do | |
| use Trot.Router | |
| get "/", do: 200 | |
| get "/hello" do | |
| "Hello Trot!!" | |
| end | |
| import_routes Trot.NotFound | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment