Sha256: 7203cfe96f429909ecbbc3bb2b5e4603d88e073bf540ca457f98d653a8a0e7b2
Contents?: true
Size: 400 Bytes
Versions: 5
Compression:
Stored size: 400 Bytes
Contents
require 'liquid/file_system' module Liquid module Rails class FileSystem < ::Liquid::LocalFileSystem def read_template_file(template_path, context) unless template_path.include?('/') controller_path = context.registers[:controller].controller_path template_path = "#{controller_path}/#{template_path}" end super end end end end
Version data entries
5 entries across 5 versions & 1 rubygems