blob: d5d3e0dd83126d1e0e626d2f343a01138b906a13 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
-- the fetch-crl controller
module (..., package.seeall)
require("controllerfunctions")
default_action = "status"
status = function( self )
return self.model.get_status()
end
startstop = function( self )
return controllerfunctions.handle_startstop(self, self.model.startstop_service, self.clientdata)
end
expert = function( self )
return controllerfunctions.handle_form(self, self.model.get_configfile, self.model.update_configfile, self.clientdata, "Save", "Edit Configuration", "Configuration Saved")
end
|