回答編集履歴
1
追記
answer
CHANGED
@@ -1,1 +1,13 @@
|
|
1
|
-
`collection`の前にあるスペースが全角なのはだめです。
|
1
|
+
`collection`の前にあるスペースが全角なのはだめです。
|
2
|
+
|
3
|
+
---
|
4
|
+
|
5
|
+
|
6
|
+
```ruby
|
7
|
+
class UsersController < ApplicationController
|
8
|
+
def show
|
9
|
+
@user = User.find(params[:id])
|
10
|
+
@prototypes = @user.prototypes
|
11
|
+
end
|
12
|
+
end
|
13
|
+
```
|