質問編集履歴

1

2017/03/11 19:32

投稿

sara
sara

スコア11

test CHANGED
File without changes
test CHANGED
@@ -1,10 +1,8 @@
1
1
  ###前提・実現したいこと
2
-
3
- 現在、ロパロパというサイトを趣味で制作しています。(http://ropa-ropa.com/)
4
2
 
5
3
 
6
4
 
7
- それで店舗地図を詳細ページ(show.html.erb)で表示しようとしています。
5
+ 店舗地図を詳細ページ(show.html.erb)で表示しようとしています。
8
6
 
9
7
 
10
8
 
@@ -53,10 +51,6 @@
53
51
  marker.lng shop.longitude
54
52
 
55
53
  end
56
-
57
- @comment = Comment.new
58
-
59
- @comments = @shop.comments.order(created_at: :desc).page(params[:page]).per(10)
60
54
 
61
55
  end
62
56