Files
grecia/app/components/proposals/new_component.rb
Javi Martín d18c627392 Add and apply Layout/EmptyLinesAfterModuleInclusion rule
This rule was added in rubocop 1.79. We were inconsistent about it, so
we're adding it to get more consistency.
2025-11-05 14:27:12 +01:00

15 lines
244 B
Ruby

class Proposals::NewComponent < ApplicationComponent
include Header
attr_reader :proposal
use_helpers :new_window_link_to
def initialize(proposal)
@proposal = proposal
end
def title
t("proposals.new.start_new")
end
end