1
0
mirror of https://github.com/mgerb/classic-wow-forums synced 2026-01-11 09:32:51 +00:00

lots of things done: thread - reply - category - seeds

This commit is contained in:
2018-01-02 23:38:17 -06:00
parent 3a61151191
commit 115dacdd12
15 changed files with 291 additions and 27 deletions

View File

@@ -26,6 +26,23 @@ defmodule MyAppWeb.Router do
pipe_through [:api_auth]
get "/", UserController, :index
end
scope "/thread" do
# authenticated routes
pipe_through [:api_auth]
post "/", ThreadController, :insert
put "/", ThreadController, :update
end
scope "reply" do
# authenticated routes
pipe_through [:api_auth]
post "/", ReplyController, :insert
end
scope "/category" do
get "/", CategoryController, :get_collection
end
end
end