diff options
author | Douwe Maan <douwe@selenight.nl> | 2016-08-15 18:45:23 -0500 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2016-08-16 11:04:26 -0500 |
commit | 41007f6d3c30a294bbf361ff900b3b19bb463291 (patch) | |
tree | 5a5bfd55bcac4587b737bd4bc877250469ff375c /app/models/discussion.rb | |
parent | 32e31d626f743c22b5ed21c50555f4670d5290f9 (diff) | |
download | gitlab-ce-41007f6d3c30a294bbf361ff900b3b19bb463291.tar.gz |
Address review feedback
Diffstat (limited to 'app/models/discussion.rb')
-rw-r--r-- | app/models/discussion.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/discussion.rb b/app/models/discussion.rb index 09d4596094e..b26d2282b00 100644 --- a/app/models/discussion.rb +++ b/app/models/discussion.rb @@ -57,6 +57,8 @@ class Discussion def id first_note.discussion_id end + + alias_method :to_param, :id def diff_discussion? first_note.diff_note? |