Sha256: e4b544fb9eba15ce5ddec7de273b9f9cc249db01b1d75e001bc208109329d40d

Contents?: true

Size: 268 Bytes

Versions: 4

Compression:

Stored size: 268 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module ActionDelegator
    module Admin
      class SettingPresenter < SimpleDelegator
        def consultation
          Admin::ConsultationPresenter.new(__getobj__.consultation)
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
decidim-action_delegator-0.6.0 app/presenters/decidim/action_delegator/admin/setting_presenter.rb
decidim-action_delegator-0.5.0 app/presenters/decidim/action_delegator/admin/setting_presenter.rb
decidim-action_delegator-0.4.1 app/presenters/decidim/action_delegator/admin/setting_presenter.rb
decidim-action_delegator-0.4 app/presenters/decidim/action_delegator/admin/setting_presenter.rb