Module: Decidim::MarkupHelper

Included in:
ViewModel
Defined in:
app/helpers/decidim/markup_helper.rb

Instance Method Summary collapse

Instance Method Details

#element_id(prefix) ⇒ Object



5
6
7
# File 'app/helpers/decidim/markup_helper.rb', line 5

def element_id(prefix)
  "#{prefix}_#{SecureRandom.uuid}"
end