質問編集履歴

2

文章の補足

2019/04/01 09:20

投稿

masa9216
masa9216

スコア15

test CHANGED
File without changes
test CHANGED
@@ -6,7 +6,11 @@
6
6
 
7
7
 
8
8
 
9
+ また、33行目のlink_to "編集", edit_entry_image_path(@entry, image)における、imageについても意味・役割がよくわかりません。
10
+
11
+
12
+
9
- :imageが画像の追加機能に必要な記述だということ以外はよくわからないので教えてください。よろしくお願いします。
13
+ :imageやimageが画像の追加や編集機能に必要な記述だということ以外はわからないので教えてください。よろしくお願いします。
10
14
 
11
15
 
12
16
 
@@ -76,7 +80,7 @@
76
80
 
77
81
  <div>
78
82
 
79
- <%= link_to "編集", edit_entry_image_path(@entry, image) %> |
83
+ <%= link_to "編集", edit_entry_image_path(@entry, **image**) %> |
80
84
 
81
85
  <%= link_to "削除", entry_image_path(@entry, image),
82
86
 

1

初心者マークの追加

2019/04/01 09:20

投稿

masa9216
masa9216

スコア15

test CHANGED
File without changes
test CHANGED
File without changes