This rule was added in rubocop 1.79. We were inconsistent about it, so we're adding it to get more consistency.
17 lines
256 B
Ruby
17 lines
256 B
Ruby
class Admin::Banners::FormComponent < ApplicationComponent
|
|
include TranslatableFormHelper
|
|
include GlobalizeHelper
|
|
|
|
attr_reader :banner
|
|
|
|
def initialize(banner)
|
|
@banner = banner
|
|
end
|
|
|
|
private
|
|
|
|
def sections
|
|
WebSection.all
|
|
end
|
|
end
|