Commit ee5e3960 authored by Raph El's avatar Raph El
Browse files

Ajout de la liste des tags

parent c111cdf3
......@@ -105,6 +105,9 @@ class ApiController extends Controller
'get' => array("href" => "/ph/api/tool/get", "public" => true),
'datetime' => array("href" => "/ph/api/tool/datetime", "public" => true),
),
"tags"=> array(
'get' => array("href" => "/ph/api/tags/get", "public" => true),
),
"convert" => array(
"index" => array("href" => "/ph/api/convert/index", "public" => true),
"geojson" => array("href" => "/ph/api/convert/geojson", "public" => true),
......
<?php
/**
* Created on examples of other controllers
* api tool datetime for update rtctime of Smart-Citizen-Kit
* @author: Jean Daniel CAZAL <danzalkay551@gmail.com>
* Date: 12/01/2017
*/
class TagsController extends ApiController {
protected function beforeAction($action) {
parent::initPage();
return parent::beforeAction($action);
}
public function actions(){
return array(
'get' => 'citizenToolKit.controllers.tags.GetAction'
);
}
}
?>
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment