BigW Consortium Gitlab

Dont show reply button if user is not signed in

parent a49d45db
......@@ -63,6 +63,8 @@ module NotesHelper
end
def link_to_reply_diff(note)
return unless current_user
data = {
noteable_type: note.noteable_type,
noteable_id: note.noteable_id,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment