質問編集履歴

1

調査点と現状を追記しました

2018/03/08 02:03

投稿

Fiberalph
Fiberalph

スコア22

test CHANGED
File without changes
test CHANGED
@@ -21,3 +21,29 @@
21
21
 
22
22
 
23
23
  ご教授よろしくお願いします!
24
+
25
+
26
+
27
+ [追記]
28
+
29
+ 調べたこととしては、
30
+
31
+ [プレフィクスルーティング](https://book.cakephp.org/3.0/ja/development/routing.html#prefix-routing)
32
+
33
+ [Controller内でフォルダを階層化](https://teratail.com/questions/82083)
34
+
35
+ [Controllerを別階層で管理](http://webuilder240.github.io/2015/06/cakephp3-other-controller/)
36
+
37
+ 等です。
38
+
39
+ 現在は、
40
+
41
+ routes.phpにて
42
+
43
+ $routes->connect('/api/resources/:controller/:action');
44
+
45
+ とし、
46
+
47
+ src/Contoller/DataController.php
48
+
49
+ として実行しています。