diff --git a/app/assets/javascripts/discourse/widgets/decorator-helper.js.es6 b/app/assets/javascripts/discourse/widgets/decorator-helper.js.es6 index 9410bc4d837..53ba38e87d6 100644 --- a/app/assets/javascripts/discourse/widgets/decorator-helper.js.es6 +++ b/app/assets/javascripts/discourse/widgets/decorator-helper.js.es6 @@ -32,6 +32,7 @@ class DecoratorHelper { * const post = helper.getModel(); * console.log(post.get('id')); * ``` + **/ getModel() { return this.widget.findAncestorModel(); }