add route for previews

This commit is contained in:
Georg Ehrke 2013-04-25 11:42:40 +02:00
parent 9ef449842a
commit f02aca3f6e
1 changed files with 2 additions and 1 deletions

View File

@ -42,7 +42,8 @@ $this->create('js_config', '/core/js/config.js')
// Routing
$this->create('core_ajax_routes', '/core/routes.json')
->action('OC_Router', 'JSRoutes');
$this->create('core_ajax_preview', '/core/preview.png')
->action('OC_Preview', 'previewRouter');
OC::$CLASSPATH['OC_Core_LostPassword_Controller'] = 'core/lostpassword/controller.php';
$this->create('core_lostpassword_index', '/lostpassword/')
->get()