Skip to content

Commit

Permalink
Remove #mime in main.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
sr authored and rtomayko committed Oct 12, 2009
1 parent 5da3460 commit 688e466
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/sinatra/main.rb
Expand Up @@ -28,8 +28,3 @@ class Application < Base
end

include Sinatra::Delegator

def mime(ext, type)
ext = ".#{ext}" unless ext.to_s[0] == ?.
Rack::Mime::MIME_TYPES[ext.to_s] = type
end

0 comments on commit 688e466

Please sign in to comment.