Tuesday, May 7, 2013

Haml comments

I've had to look this up about three times which means I should add it to the blog.

This technique was found at Makandra Cards.

To comment out code such that haml does not process it (it generates no HTML):

-# = link_to 'foo'

No comments:

Post a Comment