Permalink
Browse files

Added SVG to supported files. Tests pass.

  • Loading branch information...
1 parent 1e934a7 commit 4cd916d244f104da306c59395ca240c765e3a382 @benschwarz benschwarz committed Sep 30, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/sinatra/assetpack.rb
@@ -9,7 +9,7 @@ def self.registered(app)
# Returns a list of formats that can be served.
# Anything not in this list will be rejected.
def self.supported_formats
- @supported_formats ||= %w(css js png jpg gif otf eot ttf woff htc)
+ @supported_formats ||= %w(css js png jpg gif svg otf eot ttf woff htc)
end
# Returns a map of what MIME format each Tilt type returns.

0 comments on commit 4cd916d

Please sign in to comment.