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