lib/spinebox/compiler.rb in spinebox-0.0.13 vs lib/spinebox/compiler.rb in spinebox-0.0.14
- old
+ new
@@ -27,9 +27,10 @@
asset.write_to(File.join("public/assets", asset.logical_path))
end
def self.compile_views
Spinebox.views.each_logical_path do |logical_path|
+ next if logical_path.start_with?("_")
asset = Spinebox.views[logical_path]
asset.write_to(File.join("public", asset.logical_path))
end
end
\ No newline at end of file