From 97904968e31dc8e7dd93d1b9395bff32407e56b0 Mon Sep 17 00:00:00 2001 From: Tyler Struyk Date: Tue, 28 Apr 2015 19:34:50 +0000 Subject: [PATCH] 435: Add Clarification to articles.inc. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 1571f5c6..15852108 100644 --- a/README.md +++ b/README.md @@ -75,6 +75,9 @@ $plugin = array( 'class' => 'RestfulCustomResource', ); ``` +The `resource` key determines the root URL of the resource. The `name` key must match +the filename of the plugin: in this case, the name is `articles`, and therefore, the +filename is `articles.inc`. ####restful\_custom/plugins/restful/RestfulCustomResource.class.php ```php