create.js.haml 135 Bytes Edit Raw Blame History 1 2 3 4 - if note_for_main_target?(@note) = render "create_common_note", note: @note - else = render "create_discussion_note", note: @note