Forked from gterrill/static_assets_servlet_snippet.rb
Created
April 28, 2010 01:43
-
-
Save JamieS/381628 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# put this in 'serve_file' | |
if File.exists?("#{template_path}/#{filename}.liquid") | |
filepath = "#{template_path}/#{filename}.liquid" | |
else | |
filepath = "#{template_path}/#{filename}" | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment