From: Laury GvR Date: Tue, 2 Jul 2019 20:42:47 +0000 (-0400) Subject: fix a comment on route resource names X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=2ed8bf035df7c5485e07bfa630d72ef314fbe1d6;p=WP-Plugins%2Fglm-member-db-rest-api.git fix a comment on route resource names --- diff --git a/setup/routes.php b/setup/routes.php index a7bfe34..ef7ac87 100644 --- a/setup/routes.php +++ b/setup/routes.php @@ -53,8 +53,8 @@ class GLMA_Member_Rest_Controller { // Members Route register_rest_route( - $this->namespace, // namespace - $this->resource_name , // route + $this->namespace, // namespace + $this->resource_name , // resource_name array( // array of arrays for multiple methods. Add more arrays for different endpoints. array( // endpoint for getting members 'methods' => WP_REST_Server::READABLE,