@@ -99,26 +99,26 @@ Actions are, by default, mapped as shown below. These routs provide `req.params.
99
99
index GET /articles.:format?
100
100
new GET /articles/new.:format?
101
101
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?
105
105
update PUT /articles.:format? ( { where : { username : 'Steve' } })
106
- destroy DELETE /articles/:article .:format?
106
+ destroy DELETE /articles/:articleId .:format?
107
107
destroy DELETE /articles.:format? ( { where : { username : 'Steve' } })
108
108
query POST /articles/query.:format? ( { where : { username : 'Steve' } })
109
109
describe HEAD /articles
110
110
111
111
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' } })
122
122
123
123
## Content Negotiation
124
124
0 commit comments