Skip to content

Commit

Permalink
mirroring Rack::Mime::MIME_TYPES to Rack::File::MIME_TYPES to make si…
Browse files Browse the repository at this point in the history
…natra compatable with the master/0.5 branchs of rack
  • Loading branch information
kastner authored and rtomayko committed Dec 9, 2008
1 parent eefc3d3 commit d25e020
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/sinatra.rb
Expand Up @@ -11,6 +11,10 @@
puts "Using Evented Mongrel"
end

unless defined?(Rack::File::MIME_TYPES)
class Rack::File; MIME_TYPES = Rack::Mime::MIME_TYPES; end
end

module Rack #:nodoc:

class Request #:nodoc:
Expand Down

0 comments on commit d25e020

Please sign in to comment.