def resource_download(self, id, resource_id, filename=None):
     self._post_analytics(c.user, "Resource", "Download", resource_id)
     return PackageController.resource_download(self, id, resource_id,
                                                filename)
 def resource_download(self, id, resource_id, filename=None):
     self._post_analytics(c.user, "Resource", "Download", resource_id)
     return PackageController.resource_download(self, id, resource_id,
                                                filename)
Пример #3
0
 def resource_download(self, id, resource_id, filename=None):
     optional = {'filename':str(filename)}
     self._post_analytics(c.user, "Resource", "Download", resource_id,
      optional)
     return PackageController.resource_download(self, id, resource_id,
                                                filename)