質問編集履歴
1
mymage_controller.rb の内容を追加しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -76,6 +76,22 @@
|
|
76
76
|
|
77
77
|
```
|
78
78
|
|
79
|
+
<mypage_controller.rb>
|
80
|
+
|
79
81
|
|
80
82
|
|
81
83
|
```
|
84
|
+
|
85
|
+
class MypageController < ApplicationController
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
def profile
|
90
|
+
|
91
|
+
@users = User.find(params[:id])
|
92
|
+
|
93
|
+
end
|
94
|
+
|
95
|
+
end
|
96
|
+
|
97
|
+
```
|