diff --git a/lib/haml/helpers/action_view_mods.rb b/lib/haml/helpers/action_view_mods.rb index 1832e55f..80b922ca 100644 --- a/lib/haml/helpers/action_view_mods.rb +++ b/lib/haml/helpers/action_view_mods.rb @@ -68,6 +68,10 @@ if action_view_included old_form_for(object_name, *args, &proc) concat "\n" if block_given? && is_haml? end + + def generate_content_class_names + controller.controller_name + " " + controller.action_name + end end end end