Sha256: f7e3a9e1476815e9a6ef96c0cacc31b0cd0fa2b60fa1575ddf0a5d74c3bbf0c0

Contents?: true

Size: 270 Bytes

Versions: 2

Compression:

Stored size: 270 Bytes

Contents

# :nodoc:
module BodyClassHelper
  def body_class(options = {})
    body_class = Flutie::BodyClass.new(options, controller)

    [
      body_class.basic_body_class,
      content_for(body_class.extra_body_classes_symbol)
    ]
      .compact
      .join(' ')
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
flutie-2.2.0 lib/flutie/body_class_helper.rb
flutie-2.1.0 lib/flutie/body_class_helper.rb