rpicms

A CMS for the Raspberry Pi
git clone git://archive.git.mtrnord.blog/RpicmsTeam/rpicms.git
Log | Files | Refs | README | LICENSE

commit a686130ea12783e312ac1dae532ae612ae2b1e0b
parent 0d7be6b2044725541da62e46e5c374b46c95e516
Author: MTRNord <mtrnord1@gmail.com>
Date:   Wed, 18 Mar 2015 19:19:19 +0100

fix Api

Diffstat:
Mcore/api/v1/api.php | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/api/v1/api.php b/core/api/v1/api.php @@ -209,7 +209,7 @@ $app->get('/tasks', 'authenticate', function() { * params - name * url - /addpost/ */ -$app->addPost('/addpost', 'authenticate', function() use ($app) { +$app->Post('/addpost', 'authenticate', function() use ($app) { // check for required params verifyRequiredParams(array('task'));