gitlab-org--gitlab-foss/app/models/diff_viewer/static.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
224 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2017-06-06 17:28:06 -04:00
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