Module: Decidim::Consultations::Admin::ConsultationsHelper

Defined in:
app/helpers/decidim/consultations/admin/consultations_helper.rb

Overview

Helper for consultation controller

Instance Method Summary collapse

Instance Method Details

#consultation_example_slugObject



8
9
10
# File 'app/helpers/decidim/consultations/admin/consultations_helper.rb', line 8

def consultation_example_slug
  "consultation-#{Time.now.utc.year}-#{Time.now.utc.month}-1"
end