Sha256: 5e0c870d7480d67e0e93c3a5721498d9c7b6aaaac77847f44ab702e31516b601

Contents?: true

Size: 384 Bytes

Versions: 5

Compression:

Stored size: 384 Bytes

Contents

module PagesHelper
  def tkhed(content)
    content = content.gsub /\(-: contact_us_form :-\)/, render('contacts/form') if content.match(/\(-: contact_us_form :-\)/)
    # from what will be the tkh_yoga_center_gem
    content = content.gsub /\(-: dropin_class_schedule :-\)/, render('dropin_classes/schedule') if content.match(/\(-: dropin_class_schedule :-\)/)
    content
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tkh_content-0.9.1 app/helpers/pages_helper.rb
tkh_content-0.9 app/helpers/pages_helper.rb
tkh_content-0.4.5 app/helpers/pages_helper.rb
tkh_content-0.4.4 app/helpers/pages_helper.rb
tkh_content-0.4.3 app/helpers/pages_helper.rb