This rule was added in rubocop 1.79. We were inconsistent about it, so we're adding it to get more consistency.
14 lines
243 B
Ruby
14 lines
243 B
Ruby
class Admin::Locales::ShowComponent < ApplicationComponent
|
|
include Header
|
|
|
|
attr_reader :locales_settings
|
|
|
|
def initialize(locales_settings)
|
|
@locales_settings = locales_settings
|
|
end
|
|
|
|
def title
|
|
t("admin.menu.locales")
|
|
end
|
|
end
|