Permalink
Browse files

Merge pull request #35 from seomoz/spelling_SinatraOverrides

Correct spelling
  • Loading branch information...
myronmarston committed Sep 30, 2013
2 parents 39cd505 + 8c69218 commit c4534266dd112a3473bbe88154857211a0854218
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/interpol/sinatra/request_params_parser.rb
@@ -53,7 +53,7 @@ def hook_into_app(&block)
alias unparsed_params params
set :request_params_parser, parser
enable :parse_params unless settings.respond_to?(:parse_params)
- include SinatraOverriddes
+ include SinatraOverrides
end
end
@@ -123,15 +123,15 @@ def request_params_invalid(error)
end
# Contains methods that override sinatra methods.
- module SinatraOverriddes
+ module SinatraOverrides
extend Forwardable
def_delegators :settings, :request_params_parser
# We cannot access the full params (w/ path params) in a before hook,
# due to the order that sinatra runs the hooks in relation to route
# matching.
def process_route(*method_args, &block)
- return super unless SinatraOverriddes.being_processed_by_sinatra?(block)
+ return super unless SinatraOverrides.being_processed_by_sinatra?(block)
super do |*block_args|
with_parsed_params do

0 comments on commit c453426

Please sign in to comment.