質問編集履歴
1
viewのファイルの部分を変えました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -106,6 +106,8 @@
|
|
106
106
|
|
107
107
|
```ruby
|
108
108
|
|
109
|
+
app/views/end_user/users/_follow.html.erb
|
110
|
+
|
109
111
|
<%= form_with url: end_user_relation_path, remote: true do |f| %>
|
110
112
|
|
111
113
|
<%= f.hidden_field :user_id, value: @user.id %>
|
@@ -118,6 +120,8 @@
|
|
118
120
|
|
119
121
|
```ruby
|
120
122
|
|
123
|
+
app/views/end_user/users/_unfollow.html.erb
|
124
|
+
|
121
125
|
<%= form_with url: end_user_relation_path, method: :delete, remote: true do |f| %>
|
122
126
|
|
123
127
|
<%= f.hidden_field :user_id, value: @user.id %>
|
@@ -132,7 +136,7 @@
|
|
132
136
|
|
133
137
|
```ruby
|
134
138
|
|
135
|
-
|
139
|
+
app/views/end_user/users/_showtemplate.html.erb
|
136
140
|
|
137
141
|
<% if @user.id != current_user.id %>
|
138
142
|
|
@@ -204,12 +208,8 @@
|
|
204
208
|
|
205
209
|
|
206
210
|
|
207
|
-
|
211
|
+
|
208
212
|
|
209
213
|
|
210
214
|
|
211
215
|
### 補足情報(FW/ツールのバージョンなど)
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
ここにより詳細な情報を記載してください。
|