summaryrefslogtreecommitdiffstats
path: root/kamailio-controller.lua
diff options
context:
space:
mode:
Diffstat (limited to 'kamailio-controller.lua')
-rw-r--r--kamailio-controller.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/kamailio-controller.lua b/kamailio-controller.lua
index 69d3d1d..9352aac 100644
--- a/kamailio-controller.lua
+++ b/kamailio-controller.lua
@@ -57,3 +57,6 @@ function createtableentry(self)
return controllerfunctions.handle_form(self, function() return self.model.get_table_entry(self.clientdata.table) end, self.model.create_table_entry, self.clientdata, "Create", "Create New Table Entry", "Entry created")
end
+function createdatabase(self)
+ return self:redirect_to_referrer(self.model.create_database())
+end