Permalink
Browse files

Add #mime_type to the delagator

  • Loading branch information...
1 parent 1ef3fef commit 515a83d996f5c5cf410930b74e9fb64196e0791b @sr sr committed Oct 4, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/sinatra/base.rb
View
@@ -1106,7 +1106,7 @@ def #{method_name}(*args, &b)
delegate :get, :put, :post, :delete, :head, :template, :layout, :before,
:error, :not_found, :configures, :configure, :set, :set_option,
:set_options, :enable, :disable, :use, :development?, :test?,
- :production?, :use_in_file_templates!, :helpers
+ :production?, :use_in_file_templates!, :helpers, :mime_type
end
# Create a new Sinatra application. The block is evaluated in the new app's

0 comments on commit 515a83d

Please sign in to comment.