summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-07-04 15:25:24 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-07-04 15:25:24 +0200
commit2327d41b11e11ca0553c829b5d7adeb0f000a474 (patch)
tree8ed247cc2588e3553a32fe413dfaaaa05a9002b8 /lib/public
parent2b76db81ea81693c1d2754e882fc1f372e204c37 (diff)
parent5a588333b236519aed449a309be818d0686edb3a (diff)
downloadnextcloud-server-2327d41b11e11ca0553c829b5d7adeb0f000a474.tar.gz
nextcloud-server-2327d41b11e11ca0553c829b5d7adeb0f000a474.zip
Merge pull request #9269 from owncloud/fix_versions_preview
change order of registering api and capabilities to fix file version previews
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/route/irouter.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/public/route/irouter.php b/lib/public/route/irouter.php
index 1c003c7b4b9..daa1632e0c8 100644
--- a/lib/public/route/irouter.php
+++ b/lib/public/route/irouter.php
@@ -37,6 +37,13 @@ interface IRouter {
public function useCollection($name);
/**
+ * returns the current collection name in use for adding routes
+ *
+ * @return string the collection name
+ */
+ public function getCurrentCollection();
+
+ /**
* Create a \OCP\Route\IRoute.
*
* @param string $name Name of the route to create.