diff --git a/RIGS/rigboard.py b/RIGS/rigboard.py index d1b17a89..e61571d1 100644 --- a/RIGS/rigboard.py +++ b/RIGS/rigboard.py @@ -53,8 +53,12 @@ class EventOembed(generic.View): def get(self, request, pk=None): object = get_object_or_404(self.model, pk=pk) + + base_url = "https://rigs.nottinghamtec.co.uk" + full_url = base_url+str(object.get_absolute_url()) + data = { - 'html': 'this is some html', + 'html': ''.format(full_url), 'version': '1.0', 'type': 'rich', }