From f56d8237cc8c57bef10541ba2d9af9b6abb5b024 Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Fri, 12 Jul 2019 12:20:22 -0400 Subject: [PATCH] Move routes into setup dir with routes index --- defines.php | 2 +- {routes => setup/routes}/dashboard.php | 0 {routes => setup/routes}/members.php | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename {routes => setup/routes}/dashboard.php (100%) rename {routes => setup/routes}/members.php (100%) diff --git a/defines.php b/defines.php index 38fdd2b..fd40686 100644 --- a/defines.php +++ b/defines.php @@ -62,7 +62,7 @@ define('GLM_MEMBERS_REST_API_PLUGIN_SETUP_PATH', GLM_MEMBERS_REST_API_PLUGIN_PAT define('GLM_MEMBERS_REST_API_PLUGIN_DB_SCRIPTS', GLM_MEMBERS_REST_API_PLUGIN_SETUP_PATH.'/databaseScripts'); define('GLM_MEMBERS_REST_API_PLUGIN_CLASS_PATH', GLM_MEMBERS_REST_API_PLUGIN_PATH.'/classes'); define('GLM_MEMBERS_REST_API_PLUGIN_CONFIG_PATH', GLM_MEMBERS_REST_API_PLUGIN_PATH.'/config'); -define('GLM_MEMBERS_REST_API_PLUGIN_ROUTES_PATH', GLM_MEMBERS_REST_API_PLUGIN_PATH.'/routes'); +define('GLM_MEMBERS_REST_API_PLUGIN_ROUTES_PATH', GLM_MEMBERS_REST_API_PLUGIN_PATH.'/setup/routes'); // Parameters related to the Main GLM Member DB plugin - Depending on what's going on these may already defined by the main plugin $pluginsPath = str_replace(GLM_MEMBERS_REST_API_PLUGIN_SLUG, '', GLM_MEMBERS_REST_API_PLUGIN_PATH); diff --git a/routes/dashboard.php b/setup/routes/dashboard.php similarity index 100% rename from routes/dashboard.php rename to setup/routes/dashboard.php diff --git a/routes/members.php b/setup/routes/members.php similarity index 100% rename from routes/members.php rename to setup/routes/members.php -- 2.17.1