From b12af9ea7f10454106d77e233b4e2da003754796 Mon Sep 17 00:00:00 2001
From: Lukas Reschke <lukas@owncloud.com>
Date: Tue, 19 Aug 2014 15:25:16 +0200
Subject: Add routing to files_versions

---
 apps/files_versions/appinfo/routes.php | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'apps')

diff --git a/apps/files_versions/appinfo/routes.php b/apps/files_versions/appinfo/routes.php
index b9bb00dae55..057834213e4 100644
--- a/apps/files_versions/appinfo/routes.php
+++ b/apps/files_versions/appinfo/routes.php
@@ -11,5 +11,10 @@ function() {
 	require_once __DIR__ . '/../ajax/preview.php';
 });
 
+$this->create('files_versions_ajax_getVersions', 'ajax/getVersions.php')
+	->actionInclude('files_versions/ajax/getVersions.php');
+$this->create('files_versions_ajax_rollbackVersion', 'ajax/rollbackVersion.php')
+	->actionInclude('files_versions/ajax/rollbackVersion.php');
+
 // Register with the capabilities API
 OC_API::register('get', '/cloud/capabilities', array('OCA\Files_Versions\Capabilities', 'getCapabilities'), 'files_versions', OC_API::USER_AUTH);
-- 
cgit v1.2.3