debian-mirror-gitlab/app/models/diff_viewer/static.rb

11 lines
193 B
Ruby
Raw Normal View History

2017-09-10 17:25:29 +05:30
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