質問編集履歴
1
ごじ
test
CHANGED
File without changes
|
test
CHANGED
@@ -10,7 +10,19 @@
|
|
10
10
|
|
11
11
|
|
12
12
|
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
|
13
|
-
|
17
|
+
posts.controller
|
18
|
+
|
19
|
+
```
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
|
14
26
|
|
15
27
|
@posts = Post.limit(30).includes(:photos, :user).order('created_at DESC')
|
16
28
|
|
@@ -18,7 +30,17 @@
|
|
18
30
|
|
19
31
|
|
20
32
|
|
33
|
+
|
34
|
+
|
21
|
-
|
35
|
+
posts/index.html.erb
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
```
|
22
44
|
|
23
45
|
<div class="center">
|
24
46
|
|