class Lookbook::PreviewExample

def full_template_path(template_path)

def full_template_path(template_path)
  base_path = Array(Lookbook.config.preview_paths).detect do |p|
    Dir["#{p}/#{template_path}.html.*"].first
  end
  Pathname.new(Dir["#{base_path}/#{template_path}.html.*"].first)
end