Sha256: 7055e9f94589838c7e64bcc9decb4212ce072bc4b7e043959df979ca4c78e1a1

Contents?: true

Size: 586 Bytes

Versions: 23

Compression:

Stored size: 586 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 :-\)/)
    # from what will be the tkh_upcoming_events_gem
    content = content.gsub /\(-: upcoming_events_list :-\)/, render('events/upcoming_events_list') if content.match(/\(-: upcoming_events_list :-\)/)
    content
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
tkh_content-0.10.1 app/helpers/pages_helper.rb
tkh_content-0.10 app/helpers/pages_helper.rb
tkh_content-0.9.20 app/helpers/pages_helper.rb
tkh_content-0.9.19 app/helpers/pages_helper.rb
tkh_content-0.9.18 app/helpers/pages_helper.rb
tkh_content-0.9.17 app/helpers/pages_helper.rb
tkh_content-0.9.16 app/helpers/pages_helper.rb
tkh_content-0.9.15 app/helpers/pages_helper.rb
tkh_content-0.9.14 app/helpers/pages_helper.rb
tkh_content-0.9.13 app/helpers/pages_helper.rb
tkh_content-0.9.12 app/helpers/pages_helper.rb
tkh_content-0.9.11 app/helpers/pages_helper.rb
tkh_content-0.9.10 app/helpers/pages_helper.rb
tkh_content-0.9.9 app/helpers/pages_helper.rb
tkh_content-0.9.8 app/helpers/pages_helper.rb
tkh_content-0.9.7 app/helpers/pages_helper.rb
tkh_content-0.9.6 app/helpers/pages_helper.rb
tkh_content-0.9.5 app/helpers/pages_helper.rb
tkh_content-0.9.4 app/helpers/pages_helper.rb
tkh_content-0.9.3 app/helpers/pages_helper.rb