質問編集履歴
2
該当ソースコードの修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -143,7 +143,7 @@
|
|
143
143
|
end
|
144
144
|
end
|
145
145
|
```
|
146
|
-
rails routesの結果
|
146
|
+
#####rails routesの結果
|
147
147
|
```
|
148
148
|
mypage GET /mypage(.:format) users#me
|
149
149
|
|
1
該当ソースコードの追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -142,7 +142,40 @@
|
|
142
142
|
@board = Board.find(params[:id])
|
143
143
|
end
|
144
144
|
end
|
145
|
+
```
|
146
|
+
rails routesの結果
|
147
|
+
```
|
148
|
+
mypage GET /mypage(.:format) users#me
|
145
149
|
|
150
|
+
login POST /login(.:format) sessions#create
|
151
|
+
|
152
|
+
logout DELETE /logout(.:format) sessions#destroy
|
153
|
+
|
154
|
+
root GET / home#index
|
155
|
+
|
156
|
+
users POST /users(.:format) users#create
|
157
|
+
|
158
|
+
new_user GET /users/new(.:format) users#new
|
159
|
+
|
160
|
+
boards GET /boards(.:format) boards#index
|
161
|
+
|
162
|
+
POST /boards(.:format) boards#create
|
163
|
+
|
164
|
+
new_board GET /boards/new(.:format) boards#new
|
165
|
+
|
166
|
+
edit_board GET /boards/:id/edit(.:format) boards#edit
|
167
|
+
|
168
|
+
board GET /boards/:id(.:format) boards#show
|
169
|
+
|
170
|
+
PATCH /boards/:id(.:format) boards#update
|
171
|
+
|
172
|
+
PUT /boards/:id(.:format) boards#update
|
173
|
+
|
174
|
+
DELETE /boards/:id(.:format) boards#destroy
|
175
|
+
|
176
|
+
comments POST /comments(.:format) comments#create
|
177
|
+
|
178
|
+
comment DELETE /comments/:id(.:format) comments#destroy
|
146
179
|
```
|
147
180
|
### 試したこと
|
148
181
|
エラーメッセージの内容の通りに、テストコードのパラメータの内容が不足していると思い、
|