Extract proposals dashboard tab partial to a component

This commit is contained in:
Senén Rodero Rodríguez
2024-01-18 17:01:34 +01:00
committed by Javi Martín
parent 75180de8e6
commit f32d7edcf3
4 changed files with 22 additions and 10 deletions

View File

@@ -0,0 +1,14 @@
class Admin::Settings::ProposalsDashboardTabComponent < ApplicationComponent
def settings
%w[
proposals.successful_proposal_id
proposals.poll_short_title
proposals.poll_description
proposals.poll_link
proposals.email_short_title
proposals.email_description
proposals.poster_short_title
proposals.poster_description
]
end
end