Decorator for initiatives
8 9 10 11 12 13 14
# File 'app/presenters/decidim/initiative_presenter.rb', line 8 def author @author ||= if user_group Decidim::UserGroupPresenter.new(user_group) else Decidim::UserPresenter.new(super) end end