This rule was added in rubocop 1.79. We were inconsistent about it, so we're adding it to get more consistency.
14 lines
251 B
Ruby
14 lines
251 B
Ruby
class Admin::Proposals::SuccessfulComponent < ApplicationComponent
|
|
include Header
|
|
|
|
attr_reader :proposals
|
|
|
|
def initialize(proposals)
|
|
@proposals = proposals
|
|
end
|
|
|
|
def title
|
|
t("admin.questions.index.successful_proposals_tab")
|
|
end
|
|
end
|