lib/contour/engine.rb in contour-2.6.0.beta4 vs lib/contour/engine.rb in contour-2.6.0.beta5
- old
+ new
@@ -8,7 +8,10 @@
engine_name :contour
# Overwrite Rails errors to use Twitter/Contour CSS classes
config.action_view.field_error_proc = Proc.new { |html_tag, instance| "<span class=\"has-error\">#{html_tag}</span>".html_safe }
+ # Add fonts folder to rails asset path
+ config.assets.paths << File.join('app', 'assets', 'fonts')
+
end
end