Skip to content

Commit

Permalink
Merge pull request #350 from emma-borhanian/fix-content_tag-crash
Browse files Browse the repository at this point in the history
fix undefined method `content_tag`
  • Loading branch information
iNecas committed Apr 21, 2015
2 parents 3304108 + 928bd85 commit d5c26fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/helpers/apipie_helper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
module ApipieHelper
include ActionView::Helpers::TagHelper

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

0 comments on commit d5c26fb

Please sign in to comment.