def alert_history():
 output = s3_rest_controller('cap', 'alert_history', rheader=s3db.cap_history_rheader)
 return output

def alert_history ( ) : output = s3_rest_controller ( 'cap' , 'alert_history' , rheader = s3db . cap_history_rheader ) return output
restful crud controller .