diff options
author | Jarka Košanová <jarka@gitlab.com> | 2018-12-10 14:51:21 +0300 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2019-01-07 21:30:37 +0300 |
commit | c4d18b05846b0ca05b6aa5306596478f71752e48 (patch) | |
tree | 5d1d47cfd5fda4acf1768f9712a2852de459a99e /app/models/note.rb | |
parent | 0c1d6be13cb52afb32d23d625a6400e28f0a991e (diff) |
Use parent instead of project
Add support for group entities to quick actions
Diffstat (limited to 'app/models/note.rb')
-rw-r--r-- | app/models/note.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/note.rb b/app/models/note.rb index becf14e9785..1578ae9c4cc 100644 --- a/app/models/note.rb +++ b/app/models/note.rb @@ -456,6 +456,10 @@ class Note < ActiveRecord::Base Upload.find_by(model: self, path: paths) end + def parent + project + end + private def keep_around_commit |