Class: Decidim::Proposals::AdminLog::ValueTypes::ProposalStatePresenter
- Inherits:
-
Log::ValueTypes::DefaultPresenter
- Object
- Log::ValueTypes::DefaultPresenter
- Decidim::Proposals::AdminLog::ValueTypes::ProposalStatePresenter
- Defined in:
- app/presenters/decidim/proposals/admin_log/value_types/proposal_state_presenter.rb
Instance Method Summary collapse
Instance Method Details
#present ⇒ Object
8 9 10 11 12 |
# File 'app/presenters/decidim/proposals/admin_log/value_types/proposal_state_presenter.rb', line 8 def present return unless value h.t(value, scope: "decidim.proposals.admin.proposal_answers.edit", default: value) end |