module Haml::Helpers::ActionViewExtensions

def page_class

Returns:
  • (String) - The class name for the current page
def page_class
  controller.controller_name + " " + controller.action_name
end

def with_raw_haml_concat

Other tags:
    See: Haml::Util#rails_xss_safe? -

Other tags:
    Yield: - A block in which all input to `#haml_concat` is treated as raw.
def with_raw_haml_concat
  @_haml_concat_raw, old = true, @_haml_concat_raw
  yield
ensure
  @_haml_concat_raw = old
end