Method: ApplicationHelper#html

Defined in:
lib/forge/app/helpers/application_helper.rb

#html(options = { }, &blk) ⇒ Object



69
70
71
72
73
74
75
76
77
# File 'lib/forge/app/helpers/application_helper.rb', line 69

def html(options = { }, &blk)
  options.recursive_symbolize_keys!

  open = h5bp_opening_tag(options[:ie_versions])
  body = capture_haml(&blk)
  close = "</html>".html_safe

  open + body + close
end