質問編集履歴
1
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -56,9 +56,9 @@
|
|
56
56
|
|
57
57
|
$this->loadModel('Users');
|
58
58
|
|
59
|
-
//$
|
59
|
+
//$user = ClassRegistry::init('Users');
|
60
60
|
|
61
|
-
|
61
|
+
$user = $this->getTableLocator()->get('Users');
|
62
62
|
|
63
63
|
// 上記はエラー
|
64
64
|
|