mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
Commenting was *too* good :)
This commit is contained in:
parent
05a0308663
commit
84a01599c6
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@ class DecoratorHelper {
|
|||
* const post = helper.getModel();
|
||||
* console.log(post.get('id'));
|
||||
* ```
|
||||
**/
|
||||
getModel() {
|
||||
return this.widget.findAncestorModel();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue