Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pipeline :browser do
- plug :accepts, ~w(html)
- plug :fetch_session
- plug :fetch_flash
- plug :protect_from_forgery
- end
- pipeline :api do
- plug :accepts, ~w(json)
- end
- scope "/", Cedar do
- pipe_through :browser # Use the default browser stack
- get "/", PageController, :index, as: :pages
- get "/rules/", EditorController, :editor
- get "/api/v0.1/", Api01Controller, :index
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement