orbit-basic/vendor/plugins/liquid/init.rb

9 lines
242 B
Ruby
Raw Normal View History

require 'liquid'
require 'extras/liquid_view'
if defined? ActionView::Template and ActionView::Template.respond_to? :register_template_handler
ActionView::Template
else
ActionView::Base
end.register_template_handler(:liquid, LiquidView)