From 96d49bf04ce77c975fe500f4d961e4a1ffed4c26 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Sun, 30 Dec 2012 14:43:00 +0200 Subject: Use sdoc to generate application code documentation --- doc/code/classes/NotesHelper.html | 258 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 258 insertions(+) create mode 100644 doc/code/classes/NotesHelper.html (limited to 'doc/code/classes/NotesHelper.html') diff --git a/doc/code/classes/NotesHelper.html b/doc/code/classes/NotesHelper.html new file mode 100644 index 00000000000..39ff67948c7 --- /dev/null +++ b/doc/code/classes/NotesHelper.html @@ -0,0 +1,258 @@ + + + + + NotesHelper + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + +
Methods
+
+ +
L
+
+ +
+ +
N
+
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + +
Instance Public methods
+ +
+ + + +
+ +
+ + + + + + +
+ + + +
+ +
+ +
+
+ + loading_more_notes?() + + +
+ + +
+ +
+ + + + + + +
+ + +
+
# File app/helpers/notes_helper.rb, line 2
+def loading_more_notes?
+  params[:loading_more].present?
+end
+
+
+ +
+ +
+
+ + loading_new_notes?() + + +
+ + +
+ +
+ + + + + + +
+ + +
+
# File app/helpers/notes_helper.rb, line 6
+def loading_new_notes?
+  params[:loading_new].present?
+end
+
+
+ +
+ +
+
+ + note_for_main_target?(note) + + +
+ + +
+

Helps to distinguish e.g. commit notes in mr notes list

+
+ + + + + + +
+ + +
+
# File app/helpers/notes_helper.rb, line 11
+def note_for_main_target?(note)
+  !@mixed_targets || @main_target_type == note.noteable_type
+end
+
+
+ +
+
+ +
+ + \ No newline at end of file -- cgit v1.2.1