質問編集履歴
2
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -244,8 +244,6 @@
|
|
244
244
|
|
245
245
|
```jbuilder
|
246
246
|
|
247
|
-
json.array! @messages do |message|
|
248
|
-
|
249
247
|
json.id @message.id
|
250
248
|
|
251
249
|
json.room_id @message.room_id
|
@@ -254,8 +252,6 @@
|
|
254
252
|
|
255
253
|
json.content @message.content
|
256
254
|
|
257
|
-
end
|
258
|
-
|
259
255
|
```
|
260
256
|
|
261
257
|
|
1
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -20,8 +20,6 @@
|
|
20
20
|
|
21
21
|
redirect_to :action => "show", :controller=>"rooms",:id => @message.room_id
|
22
22
|
|
23
|
-
format.json
|
24
|
-
|
25
23
|
else
|
26
24
|
|
27
25
|
redirect_back(fallback_location: root_path)
|