Skip to content

Commit

Permalink
[hotfix] check_ownership param needed for adding slice to dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
georgeke committed Jun 7, 2016
1 parent 0257116 commit a7cdf3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion caravel/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ def pre_add(self, obj):
obj.slug = re.sub(r'\W+', '', obj.slug)

def pre_update(self, obj):
check_ownership()
check_ownership(obj)
self.pre_add(obj)


Expand Down

0 comments on commit a7cdf3c

Please sign in to comment.