This rule was added in rubocop 1.79. We were inconsistent about it, so we're adding it to get more consistency.
15 lines
235 B
Ruby
15 lines
235 B
Ruby
class Admin::Tenants::NewComponent < ApplicationComponent
|
|
include Header
|
|
|
|
attr_reader :tenant
|
|
use_helpers :current_user
|
|
|
|
def initialize(tenant)
|
|
@tenant = tenant
|
|
end
|
|
|
|
def title
|
|
t("admin.tenants.new.title")
|
|
end
|
|
end
|