Esempio n. 1
0
<?php

/**
 * urls.php
 * @author Revin Roman
 */
return ['postman/templates' => 'postman/template/list', 'postman/messages' => 'postman/message/list', 'PUT postman/rest/messages/resent/<id:\\d+>' => 'postman/rest/message/resent', ['class' => cookyii\rest\UrlRule::className(), 'controller' => 'postman/rest/template'], ['class' => cookyii\rest\UrlRule::className(), 'controller' => 'postman/rest/message']];
Esempio n. 2
0
<?php

/**
 * urls.php
 * @author Revin Roman
 */
return ['account/auth/<authclient>' => 'account/sign/auth', 'accounts' => 'account/list/index', 'PUT account/rest/roles' => 'account/rest/account/roles', 'POST account/rest/property' => 'account/rest/property/push', 'DELETE account/rest/property' => 'account/rest/property/delete', ['class' => cookyii\rest\UrlRule::className(), 'controller' => 'account/rest/account']];
Esempio n. 3
0
<?php

/**
 * urls.php
 * @author Revin Roman
 */
return ['GET feed/section/rest/sections/detail/<slug:[a-zA-Z0-9\\-]+>' => 'feed/section/rest/section/detail', 'GET feed/section/rest/sections/tree' => 'feed/section/rest/section/tree', ['class' => cookyii\rest\UrlRule::className(), 'controller' => 'feed/section/rest/section'], ['class' => cookyii\rest\UrlRule::className(), 'controller' => 'feed/item/rest/item']];
Esempio n. 4
0
<?php

/**
 * urls.php
 * @author Revin Roman
 */
return ['pages' => 'page/list/index', ['class' => cookyii\rest\UrlRule::className(), 'controller' => 'page/rest/page']];