質問編集履歴
1
コードの追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -30,6 +30,16 @@
|
|
30
30
|
|
31
31
|
```rb
|
32
32
|
|
33
|
+
get "posts/:id" =>"posts#show"
|
34
|
+
|
35
|
+
```
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
|
40
|
+
|
41
|
+
```rb
|
42
|
+
|
33
43
|
def show
|
34
44
|
|
35
45
|
@post =Post.all
|