質問編集履歴
1
書式の改善
test
CHANGED
File without changes
|
test
CHANGED
@@ -24,7 +24,9 @@
|
|
24
24
|
|
25
25
|
|
26
26
|
|
27
|
-
|
27
|
+
app/views/users/show.html.erb
|
28
|
+
|
29
|
+
```
|
28
30
|
|
29
31
|
<% provide(:title, @user.name) %>
|
30
32
|
|
@@ -88,7 +90,9 @@
|
|
88
90
|
|
89
91
|
|
90
92
|
|
91
|
-
|
93
|
+
app/models/user_image.rb
|
94
|
+
|
95
|
+
```
|
92
96
|
|
93
97
|
class UserImage < ApplicationRecord
|
94
98
|
|
@@ -106,7 +110,9 @@
|
|
106
110
|
|
107
111
|
|
108
112
|
|
109
|
-
|
113
|
+
app/models/user.rb
|
114
|
+
|
115
|
+
```
|
110
116
|
|
111
117
|
class User < ApplicationRecord
|
112
118
|
|
@@ -186,7 +192,9 @@
|
|
186
192
|
|
187
193
|
|
188
194
|
|
189
|
-
|
195
|
+
app/controllers/users_contorollers.rb
|
196
|
+
|
197
|
+
```
|
190
198
|
|
191
199
|
class UsersController < ApplicationController
|
192
200
|
|