summaryrefslogtreecommitdiffstats
path: root/freeswitch-controller.lua
diff options
context:
space:
mode:
Diffstat (limited to 'freeswitch-controller.lua')
-rw-r--r--freeswitch-controller.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/freeswitch-controller.lua b/freeswitch-controller.lua
index 6b459cd..607d718 100644
--- a/freeswitch-controller.lua
+++ b/freeswitch-controller.lua
@@ -27,3 +27,7 @@ end
function deletefile(self)
return self:redirect_to_referrer(self.model.deletefile(self.clientdata.filename))
end
+
+function reloadxml(self)
+ return self:redirect_to_referrer(self.model.reload_xml())
+end