質問編集履歴
1
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -519,3 +519,13 @@
|
|
519
519
|
%i.far.fa-heart.like-btn
|
520
520
|
|
521
521
|
```
|
522
|
+
|
523
|
+
**create.js.erb**
|
524
|
+
|
525
|
+
```ここに言語を入力
|
526
|
+
|
527
|
+
$("#likes_buttons_<%= @message.id %>").
|
528
|
+
|
529
|
+
html("<%= j(render partial: 'likes/like', locals: {m: @message}) %>");
|
530
|
+
|
531
|
+
```
|