Commit 88bd1385 authored by Douwe Maan's avatar Douwe Maan

Restore helper

parent c23ca0b0
......@@ -39,6 +39,10 @@ module DiffHelper
end
end
def generate_line_code(file_path, line)
Gitlab::Diff::LineCode.generate(file_path, line.new_pos, line.old_pos)
end
def unfold_bottom_class(bottom)
(bottom) ? 'js-unfold-bottom' : ''
end
......
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