You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.3 KiB
PHP
51 lines
1.3 KiB
PHP
<?php
|
|
/**
|
|
* ownCloud - Office App
|
|
*
|
|
* @author Victor Dubiniuk
|
|
* @copyright 2013 Victor Dubiniuk victor.dubiniuk@gmail.com
|
|
*
|
|
* This file is licensed under the Affero General Public License version 3 or
|
|
* later.
|
|
*/
|
|
|
|
$this->create('office_genesis', 'ajax/genesis/{es_id}')
|
|
->post()
|
|
->action('\OCA\Office\Controller', 'serve')
|
|
;
|
|
$this->create('office_genesis', 'ajax/genesis/{es_id}')
|
|
->get()
|
|
->action('\OCA\Office\Controller', 'serve')
|
|
;
|
|
|
|
$this->create('office_session_start', 'ajax/session/start')
|
|
->get()
|
|
->action('\OCA\Office\Controller', 'startSession')
|
|
;
|
|
$this->create('office_session_start', 'ajax/session/start')
|
|
->post()
|
|
->action('\OCA\Office\Controller', 'startSession')
|
|
;
|
|
|
|
$this->create('office_session_list', 'ajax/session/list')
|
|
->get()
|
|
->action('\OCA\Office\Controller', 'listSessions')
|
|
;
|
|
$this->create('office_session_list', 'ajax/session/list')
|
|
->post()
|
|
->action('\OCA\Office\Controller', 'listSessions')
|
|
;
|
|
|
|
$this->create('office_session_join', 'ajax/session/join/{es_id}')
|
|
->get()
|
|
->action('\OCA\Office\Controller', 'joinSession')
|
|
;
|
|
$this->create('office_session_join', 'ajax/session/join/{es_id}')
|
|
->post()
|
|
->action('\OCA\Office\Controller', 'joinSession')
|
|
;
|
|
|
|
$this->create('office_avatar', 'ajax/avatar')
|
|
->get()
|
|
->action('\OCA\Office\Controller', 'sendAvatar')
|
|
; |