Sha256: 02d8617958ab6581b2f5daa8f0d5a7c29e8c5285133113b190d32e5555d0f59a

Contents?: true

Size: 155 Bytes

Versions: 37

Compression:

Stored size: 155 Bytes

Contents

module ApipieHelper
  include ActionView::Helpers::TagHelper

  def heading(title, level=1)
    content_tag("h#{level}") do
      title
    end
  end

end

Version data entries

37 entries across 37 versions & 2 rubygems

Version Path
apipie-rails-0.9.3 app/helpers/apipie_helper.rb
apipie-rails-0.9.2 app/helpers/apipie_helper.rb
apipie-rails-0.9.1 app/helpers/apipie_helper.rb
apipie-rails-0.9.0 app/helpers/apipie_helper.rb
apipie-rails-0.8.2 app/helpers/apipie_helper.rb
apipie-rails-0.8.1 app/helpers/apipie_helper.rb
apipie-rails-0.8.0 app/helpers/apipie_helper.rb
apipie-rails-0.7.2 app/helpers/apipie_helper.rb
apipie-rails-0.7.1 app/helpers/apipie_helper.rb
apipie-rails-0.7.0 app/helpers/apipie_helper.rb
apipie-rails-0.6.0 app/helpers/apipie_helper.rb
apipie-rails-0.5.20 app/helpers/apipie_helper.rb
apipie-rails-0.5.19 app/helpers/apipie_helper.rb
apipie-rails-0.5.18 app/helpers/apipie_helper.rb
apipie-rails-0.5.17 app/helpers/apipie_helper.rb
apipie-rails-0.5.16 app/helpers/apipie_helper.rb
apipierails3-0.0.1 app/helpers/apipie_helper.rb
apipie-rails-0.5.15 app/helpers/apipie_helper.rb
apipie-rails-0.5.14 app/helpers/apipie_helper.rb
apipie-rails-0.5.13 app/helpers/apipie_helper.rb