Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar_network/local/mountset.py
diff options
context:
space:
mode:
Diffstat (limited to 'sugar_network/local/mountset.py')
-rw-r--r--sugar_network/local/mountset.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/sugar_network/local/mountset.py b/sugar_network/local/mountset.py
index ac81e5d..9cc7de6 100644
--- a/sugar_network/local/mountset.py
+++ b/sugar_network/local/mountset.py
@@ -114,6 +114,10 @@ class Mountset(dict, ad.CommandsProcessor, Commands, SyncCommands):
content={'keep': True}),
ad.Response())
+ @ad.volume_command(method='POST', cmd='publish')
+ def _publish(self, request):
+ self.publish(request.content)
+
def super_call(self, request, response):
if 'mountpoint' in request:
mountpoint = request.mountpoint = request.pop('mountpoint')