summaryrefslogtreecommitdiffstats
path: root/kamailio-controller.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2011-01-08 20:30:37 +0000
committerTed Trask <ttrask01@yahoo.com>2011-01-08 20:30:37 +0000
commit802b8d7fe548afad99235db73b9c7ffea64c011b (patch)
treea1d64e28d450aa61e6fdefa9565e79b28e36d1bf /kamailio-controller.lua
parent7737dbd5def8fe3f38553e6e5c91bfc389fcae64 (diff)
downloadacf-kamailio-802b8d7fe548afad99235db73b9c7ffea64c011b.tar.bz2
acf-kamailio-802b8d7fe548afad99235db73b9c7ffea64c011b.tar.xz
Added createdatabase action.
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