Skip to content

Commit 7953246

Browse files
committed
readme
1 parent 336f955 commit 7953246

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

Readme.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -99,26 +99,26 @@ Actions are, by default, mapped as shown below. These routs provide `req.params.
9999
index GET /articles.:format?
100100
new GET /articles/new.:format?
101101
create POST /articles.:format?
102-
show GET /articles/:article.:format?
103-
edit GET /articles/:article/edit.:format?
104-
update PUT /articles/:article.:format?
102+
show GET /articles/:articleId.:format?
103+
edit GET /articles/:articleId/edit.:format?
104+
update PUT /articles/:articleId.:format?
105105
update PUT /articles.:format? ( { where : { username : 'Steve' } })
106-
destroy DELETE /articles/:article.:format?
106+
destroy DELETE /articles/:articleId.:format?
107107
destroy DELETE /articles.:format? ( { where : { username : 'Steve' } })
108108
query POST /articles/query.:format? ( { where : { username : 'Steve' } })
109109
describe HEAD /articles
110110

111111
article_comments:
112-
index GET /articles/:article/comments.:format?
113-
new GET /articles/:article/comments/new.:format?
114-
create POST /articles/:article/comments.:format?
115-
show GET /articles/:article/comments/:comment.:format?
116-
edit GET /articles/:article/comments/:comment/edit.:format?
117-
update PUT /articles/:article/comments/:comment.:format?
118-
update PUT /articles/:article/comments.:format? ( { where : { username : 'Steve' } })
119-
destroy DELETE /articles/:article/comments/:comment.:format?
120-
destroy DELETE /articles/:article/comments.:format? ( { where : { username : 'Steve' } })
121-
query POST /articles/:article/comments/query.:format? ( { where : { username : 'Steve' } })
112+
index GET /articles/:articleId/comments.:format?
113+
new GET /articles/:articleId/comments/new.:format?
114+
create POST /articles/:articleId/comments.:format?
115+
show GET /articles/:articleId/comments/:commentId.:format?
116+
edit GET /articles/:articleId/comments/:commentId/edit.:format?
117+
update PUT /articles/:articleId/comments/:commentId.:format?
118+
update PUT /articles/:articleId/comments.:format? ( { where : { username : 'Steve' } })
119+
destroy DELETE /articles/:articleId/comments/:commentId.:format?
120+
destroy DELETE /articles/:articleId/comments.:format? ( { where : { username : 'Steve' } })
121+
query POST /articles/:articleId/comments/query.:format? ( { where : { username : 'Steve' } })
122122

123123
## Content Negotiation
124124

0 commit comments

Comments
 (0)