This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
helpers do | |
def haml(template, options = {}, *) | |
# template will either be the name of a template or the body of a template. | |
# if it's the body then it will contain a "%" symbol and so we can skip any processing | |
template_name = template.to_s | |
do_not_localise = false | |
if template_name.include?('%') |
NewerOlder