teratail header banner
teratail header banner
質問するログイン新規登録

回答編集履歴

1

変更差分を追記

2018/09/16 02:15

投稿

eichann120
eichann120

スコア27

answer CHANGED
@@ -8,7 +8,8 @@
8
8
  <% @posts.each do |post| %>
9
9
  <tr>
10
10
 
11
- <td><%= picture_tag post.picture.to_s %></td>
11
+ <td><%= picture_tag post.picture.to_s %></td> ← これを
12
+ <td><%= image_tag post.picture.to_s %></td> ← このように変更
12
13
  <td><%= post.name %></td>
13
14
 
14
15
  </tr>