move routes.json to 'Resources'

This commit is contained in:
Taras Machyshyn
2013-12-23 17:38:43 +02:00
parent 49f17d975a
commit d675c085d3
4 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -90,14 +90,14 @@ class Route
foreach($dirList as $currentDirName) {
$dirNameFull = Util::concatPath($moduleDir, $currentDirName);
$routeFile = Util::concatPath($dirNameFull, $this->fileName);
$routeFile = Util::concatPath($dirNameFull, 'Resources/'.$this->fileName);
$data = $this->getAddData($data, $routeFile);
}
}
//if need this path to high priority, move up this code
$routeFile = Util::concatPath('application/Espo'.$dirName, $this->fileName);
$routeFile = Util::concatPath('application/Espo'.$dirName.'/Resources', $this->fileName);
$data = $this->getAddData($data, $routeFile);
if (!$isCustom) {
@@ -0,0 +1,2 @@
[
]
-2
View File
@@ -1,2 +0,0 @@
[
]