質問編集履歴
2
before_actionを修正しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -26,7 +26,7 @@
|
|
26
26
|
|
27
27
|
class UsersController < ApplicationController
|
28
28
|
|
29
|
-
before_action :set_user, only: [:show, :edit, :destroy]
|
29
|
+
before_action :set_user, only: [:show, :edit, :update, :destroy]
|
30
30
|
|
31
31
|
・
|
32
32
|
|
1
タイトルを微修正しました
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
wrong number of arguments (given 3, expected 2)
|
1
|
+
wrong number of arguments (given 3, expected 2) 引数の数を合致させたい
|
test
CHANGED
@@ -83,6 +83,10 @@
|
|
83
83
|
・
|
84
84
|
|
85
85
|
・
|
86
|
+
|
87
|
+
private
|
88
|
+
|
89
|
+
|
86
90
|
|
87
91
|
# Never trust parameters from the scary internet, only allow the white list through.
|
88
92
|
|