gitlab-org--gitlab-foss/app/models/diff_viewer/static.rb
2018-08-07 00:37:36 -07:00

12 lines
224 B
Ruby

# frozen_string_literal: true
module DiffViewer
module Static
extend ActiveSupport::Concern
# We can always render a static viewer, even if the diff is too large.
def render_error
nil
end
end
end