1
0
Fork 0
mirror of https://github.com/middleman/middleman.git synced 2022-11-09 12:20:27 -05:00
middleman--middleman/lib/middleman/renderers/haml.rb
2011-07-10 13:36:08 -07:00

20 lines
No EOL
370 B
Ruby
Executable file

module Middleman::Renderers::Haml
class << self
def registered(app)
# Base library
require "haml"
# Coffee-script filter for Haml
require "coffee-filter"
app.helpers Helpers
end
alias :included :registered
end
module Helpers
def haml_partial(name, options = {})
render(name, options)
end
end
end