'Returns a list of ResourceExtension objects.'

def get_resources(self):

    resources = []
    resources.append(ResourceExtension('extensions', ExtensionController(self)))
    for ext in self.extensions.values():
        resources.extend(ext.get_resources())
    return resources
