search for: full_file_path

Displaying 1 result from an estimated 1 matches for "full_file_path".

2010 Dec 21
0
liquid include error please help
...Basically what I want to do is to use liquid ''include'' tag I''m getting this error Liquid error: No such template ''test'' my code is as follows in my app/views/page/index.erb <% file_system = Liquid::LocalFileSystem.new("/page/") full_file_path = file_system.full_path("test") Liquid::Template.file_system = Liquid::LocalFileSystem.new(full_file_path) %> <%@template = Liquid::Template.parse(@page) %> <%= raw @template.render(@liquid_snippets) %> So let me explain above code, I have a liquid partial at /app/vi...