Sha256: 743ffc4f5d5b4dacb55ff896ace892157dcd550c6a2b5213589834b69bdd373f

Contents?: true

Size: 188 Bytes

Versions: 12

Compression:

Stored size: 188 Bytes

Contents

module PagesHelper
  def tkhed(content)
    content = content.gsub /\(-: contact_us_form :-\)/, render('contacts/form') if content.match(/\(-: contact_us_form :-\)/)
    content
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
tkh_content-0.4.2 app/helpers/pages_helper.rb
tkh_content-0.3.1 app/helpers/pages_helper.rb
tkh_content-0.3 app/helpers/pages_helper.rb
tkh_content-0.2.1 app/helpers/pages_helper.rb
tkh_content-0.2 app/helpers/pages_helper.rb
tkh_content-0.1.15 app/helpers/pages_helper.rb
tkh_content-0.1.14 app/helpers/pages_helper.rb
tkh_content-0.1.13 app/helpers/pages_helper.rb
tkh_content-0.1.12 app/helpers/pages_helper.rb
tkh_content-0.1.11 app/helpers/pages_helper.rb
tkh_content-0.1.10 app/helpers/pages_helper.rb
tkh_content-0.1.9.3 app/helpers/pages_helper.rb