Fakultas Ilmu Komputer UI
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Functional Programming
Diskuy-Backend
Commits
edad1d6e
Commit
edad1d6e
authored
Feb 08, 2021
by
Muhammad Rafif Elfazri
Browse files
Add routes for Post Pagination
parent
f9f0395d
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/diskuy_web/router.ex
View file @
edad1d6e
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment