Fakultas Ilmu Komputer UI

Commit edad1d6e authored by Muhammad Rafif Elfazri's avatar Muhammad Rafif Elfazri
Browse files

Add routes for Post Pagination

parent f9f0395d
......@@ -58,6 +58,9 @@ defmodule DiskuyWeb.Router do
options "/threads/:id", ThreadController, :options
get "/post/pages/thread/:thread_id", PostPagesController, :pages_thread
options "/post/pages/thread/:thread_id", PostPagesController, :options
resources "/post", PostController, except: [:new, :edit, :create, :update, :delete]
options "/post", PostController, :options
options "/post/:id", PostController, :options
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment