class Liquid::Rails::FileSystem
Public Instance Methods
read_template_file(template_path, context)
click to toggle source
Calls superclass method
# File lib/liquid-rails/file_system.rb, line 6 def read_template_file(template_path, context) controller_path = context.registers[:controller].controller_path template_path = "#{controller_path}/#{template_path}" unless template_path.include?('/') super end