Commit 8c67c339 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Dont show reply button if user is not signed in

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
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