summaryrefslogtreecommitdiff
path: root/src/meetingtools/apps/room/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/meetingtools/apps/room/models.py')
-rw-r--r--src/meetingtools/apps/room/models.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/meetingtools/apps/room/models.py b/src/meetingtools/apps/room/models.py
index 8bed373..aea4ba3 100644
--- a/src/meetingtools/apps/room/models.py
+++ b/src/meetingtools/apps/room/models.py
@@ -46,6 +46,9 @@ class Room(models.Model):
def go_url_internal(self):
return "%s/go/%d" % (BASE_URL,self.id)
+
+ def permalink(self):
+ return "%s/room/%d" % (BASE_URL,self.id)
def nusers(self):
if self.user_count == None: