Skip to content
This repository
Browse code

Add #mime_type to the delagator

  • Loading branch information...
commit 515a83d996f5c5cf410930b74e9fb64196e0791b 1 parent 1ef3fef
Simon Rozet authored October 04, 2009

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  lib/sinatra/base.rb
2  lib/sinatra/base.rb
@@ -1106,7 +1106,7 @@ def #{method_name}(*args, &b)
1106 1106
     delegate :get, :put, :post, :delete, :head, :template, :layout, :before,
1107 1107
              :error, :not_found, :configures, :configure, :set, :set_option,
1108 1108
              :set_options, :enable, :disable, :use, :development?, :test?,
1109  
-             :production?, :use_in_file_templates!, :helpers
  1109
+             :production?, :use_in_file_templates!, :helpers, :mime_type
1110 1110
   end
1111 1111
 
1112 1112
   # Create a new Sinatra application. The block is evaluated in the new app's

0 notes on commit 515a83d

Please sign in to comment.
Something went wrong with that request. Please try again.