mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
adding a new helper
git-svn-id: svn://hamptoncatlin.com/haml/trunk@355 7063305b-7217-0410-af8c-cdc13e5119b9
This commit is contained in:
parent
0a9a2da0e2
commit
e7a420aae8
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue