We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b0e72c commit 192fdf7Copy full SHA for 192fdf7
src/Red/Base/Controller.php
@@ -27,7 +27,7 @@ public function __construct()
27
28
$controller_name = substr($controller_name, strrpos($controller_name, '\\') + 1);
29
30
- if(file_exists(ROOT_PATH . 'app' . DS . 'models' . DS . $controller_name . 'model' . '.php')){
+ if(file_exists(ROOT_PATH . 'app' . DS . 'Models' . DS . $controller_name . 'Model' . '.php')){
31
32
$model = 'App' . "\\". 'Models' . "\\" . $controller_name . 'Model';
33
0 commit comments