Advertisement
Guest User

Untitled

a guest
Mar 24th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. defmodule HelloPhoenixApi.Router do
  2. use HelloPhoenixApi.Web, :router
  3.  
  4. pipeline :api do
  5. plug :accepts, ["json"]
  6. end
  7.  
  8. scope "/", HelloPhoenixApi do
  9. pipe_through :api # Use the default browser stack
  10.  
  11. get "/", HelloController, :index
  12. end
  13.  
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement