diff --git a/_config.php b/_config.php index e2dab15..69fe792 100644 --- a/_config.php +++ b/_config.php @@ -19,7 +19,3 @@ // EnvironmentCheckSuite::register('check', 'FileWriteableCheck("assets")', "Is assets/ writeable?"); // EnvironmentCheckSuite::register('check', 'FileWriteableCheck("' . TEMP_FOLDER . '")', "Is the temp folder writeable?"); -Director::addRules(100, array( - 'dev/health' => 'DevHealthController', - 'dev/check' => 'DevCheckController', -)); \ No newline at end of file diff --git a/_config/routes.yml b/_config/routes.yml new file mode 100644 index 0000000..e421f73 --- /dev/null +++ b/_config/routes.yml @@ -0,0 +1,9 @@ +--- +Name: environmentcheckroutes +After: 'framework/*','cms/*' +--- +Director: + rules: + 'dev/health': 'DevHealthController' + 'dev/check': 'DevCheckController' +