Refactor discussion reply
This commit is contained in:
parent
1319373d58
commit
494ae87840
27 changed files with 229 additions and 197 deletions
|
@ -1,4 +1,4 @@
|
|||
- if @note.line_code
|
||||
= render "create_diff_note", note: @note
|
||||
- else
|
||||
- if note_for_main_target?(@note)
|
||||
= render "create_common_note", note: @note
|
||||
- else
|
||||
= render "create_discussion_note", note: @note
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue