summaryrefslogtreecommitdiff
path: root/app/controllers/snippets/notes_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/snippets/notes_controller.rb')
-rw-r--r--app/controllers/snippets/notes_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/snippets/notes_controller.rb b/app/controllers/snippets/notes_controller.rb
index c8b4682e6dc..217da89a1fd 100644
--- a/app/controllers/snippets/notes_controller.rb
+++ b/app/controllers/snippets/notes_controller.rb
@@ -9,7 +9,7 @@ class Snippets::NotesController < ApplicationController
private
def note
- @note ||= snippet.notes.find(params[:id])
+ @note ||= snippet.notes.inc_relations_for_view.find(params[:id])
end
alias_method :awardable, :note