回答編集履歴
1
誤字
test
CHANGED
@@ -1,11 +1,12 @@
|
|
1
|
+
```
|
1
|
-
|
2
|
+
def move_to_index
|
2
3
|
prototype = Prototype.find(params[:id])
|
3
4
|
if prototype.user_id != current_user.id
|
4
5
|
redirect_to action: :index
|
5
6
|
end
|
6
7
|
end
|
7
8
|
end
|
8
|
-
|
9
|
+
```
|
9
10
|
こちらで解決しました!
|
10
11
|
ご覧いただいた皆様ありがとうございました。
|
11
12
|
また何かあったときはお知恵を貸していただけると嬉しいです!
|