mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
[Haml] Add a changelog entry about object reference customization.
This commit is contained in:
parent
ebd34950ed
commit
bf0ce28d09
1 changed files with 9 additions and 0 deletions
|
@ -3,6 +3,15 @@
|
|||
* Table of contents
|
||||
{:toc}
|
||||
|
||||
## 2.4.0
|
||||
|
||||
### Object Reference Customization
|
||||
|
||||
It's now possible to customize the name used for {file:HAML_REFERENCE.md#object_reference_ object reference}
|
||||
for a given object by implementing the `haml_object_ref` method on that object.
|
||||
This method should return a string that will be used in place of the class name of the object
|
||||
in the generated class and id.
|
||||
|
||||
## 2.2.1
|
||||
|
||||
Haml 2.2.1 is a minor bug-fix release.
|
||||
|
|
Loading…
Reference in a new issue