Sha256: 15ea88a0a922f596c29fd10280392fe94b4a6ed59167aa4e62beae3e8b4e1588
Contents?: true
Size: 658 Bytes
Versions: 24
Compression:
Stored size: 658 Bytes
Contents
require 'liquid' # A collection of modules and classes needed to enable Liquid templates with Rails Connector # @api public module RailsConnector::LiquidSupport # Helpers can be made available in Liquid templates by enabling them in the # app initialization like this: # # RailsConnector::LiquidSupport.enable_helpers( # :helper_a, # :helper_b # ) # @api public def self.enable_helpers(*helpers) helpers.each do |helper| GeneralHelperTag << helper end end # set to +true+ if an error in a liquid template should lead to an 500 server error # @api public mattr_accessor :raise_template_errors end
Version data entries
24 entries across 24 versions & 1 rubygems