Module: Decidim::MarkupHelper

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

Instance Method Summary collapse

Instance Method Details

#element_id(prefix) ⇒ Object


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

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