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
821f7ba6
Commit
821f7ba6
authored
Feb 14, 2021
by
Muhammad Rafif Elfazri
Browse files
Fix Cors for update user route
parent
6f93adf5
Changes
1
Show whitespace changes
Inline
Side-by-side
lib/diskuy_web/router.ex
View file @
821f7ba6
...
...
@@ -20,7 +20,9 @@ defmodule DiskuyWeb.Router do
resources
"/threads"
,
ThreadController
,
except:
[
:new
,
:edit
,
:show
,
:index
]
resources
"/topics"
,
TopicController
,
except:
[
:new
,
:edit
,
:show
,
:index
]
resources
"/post"
,
PostController
,
except:
[
:new
,
:edit
,
:show
,
:index
]
put
"/users/update"
,
UserController
,
:update
get
"/users/update"
,
UserController
,
:options
post
"/threads/like/:id"
,
ThreadController
,
:add_like
options
"/threads/like/:id"
,
ThreadController
,
: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