Sha256: 1cfe6a9141ba8a3af0147941271aace9d632c526f9c532971a728480d6b77778
Contents?: true
Size: 475 Bytes
Versions: 5
Compression:
Stored size: 475 Bytes
Contents
begin require 'slim' if defined? Padrino::Rendering Padrino::Rendering.engine_configurations[:slim] = { :generator => Temple::Generators::RailsOutputBuffer, :buffer => "@_out_buf", :use_html_safe => true, :disable_capture => true, } class Slim::Template include Padrino::Rendering::SafeTemplate def precompiled_preamble(locals) "__in_slim_template = true\n" << super end end end rescue LoadError end
Version data entries
5 entries across 5 versions & 2 rubygems