Remove user comments in root controllers

This commit is contained in:
Romain Neutron
2013-10-30 19:16:51 +01:00
parent 9f086f4f05
commit 64cbe2a57d
2 changed files with 0 additions and 52 deletions

View File

@@ -32,35 +32,9 @@ class Notifications implements ControllerProviderInterface
$app['firewall']->requireNotGuest();
});
/**
* Read all notifications
*
* name : read_notifications_full
*
* description : Read full notification
*
* method : GET
*
* parameters : none
*
* return : JSON Response
*/
$controllers->get('/', 'controller.user.notifications:listNotifications')
->bind('get_notifications');
/**
* Set notifications as readed
*
* name : set_notifications_readed
*
* description : Set notifications as readed
*
* method : POST
*
* parameters : none
*
* return : JSON Response
*/
$controllers->post('/read/', 'controller.user.notifications:readNotifications')
->bind('set_notifications_readed');

View File

@@ -32,35 +32,9 @@ class Preferences implements ControllerProviderInterface
$app['firewall']->requireAuthentication();
});
/**
* Save preferences
*
* name : save_pref
*
* description : Save User preferences
*
* method : POST
*
* parameters : none
*
* return : JSON Response
*/
$controllers->post('/', 'controller.user.preferences:saveUserPref')
->bind('save_pref');
/**
* Save temporary preferences
*
* name : save_temp_pref
*
* description : Save temporary preferences
*
* method : POST
*
* parameters : none
*
* return : JSON Response
*/
$controllers->post('/temporary/', 'controller.user.preferences:saveTemporaryPref')
->bind('save_temp_pref');