Module: PlaysureHelper::Helper::PageHelper
- Includes:
- SeoHelper
- Included in:
- PlaysureHelper::Helper
- Defined in:
- lib/playsure_helper/page_helper.rb
Instance Method Summary collapse
Instance Method Details
#render_body_tag ⇒ Object
8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/playsure_helper/page_helper.rb', line 8 def render_body_tag class_attribute = ["#{controller_name}-controller","#{action_name}-action"].join(" ") id_attribute = (@body_id)? " id=\"#{@body_id}-page\"" : "" raw(%Q|<!--[if lt IE 7 ]>r <body class="#{class_attribute} ie6"><![endif]--> <!--[if gte IE 7 ]> <body class="#{class_attribute} ie"><![endif]--> <!--[if !IE]>--> <body#{id_attribute} class="#{class_attribute}"> <!--<![endif]-->|) end |