debian-mirror-gitlab/app/components/diffs/base_component.rb
2023-07-09 08:55:56 +05:30

12 lines
312 B
Ruby

# frozen_string_literal: true
module Diffs
class BaseComponent < ViewComponent::Base
warn_on_deprecated_slot_setter
# To make converting the partials to components easier,
# we delegate all missing methods to the helpers,
# where they probably are.
delegate_missing_to :helpers
end
end