Skip to content

Commit

Permalink
fixing version_url for concept/mapping versioned_object
Browse files Browse the repository at this point in the history
  • Loading branch information
snyaggarwal committed Jul 22, 2020
1 parent 5029830 commit 8286a2c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/common/mixins.py
Expand Up @@ -299,6 +299,8 @@ def is_versioned_object(self):

@property
def version_url(self):
if self.is_versioned_object:
return self.get_latest_version().uri
return self.uri

@property
Expand Down

0 comments on commit 8286a2c

Please sign in to comment.