lib/usher/interface/rack_interface.rb in usher-0.5.1 vs lib/usher/interface/rack_interface.rb in usher-0.5.2
- old
+ new
@@ -3,10 +3,10 @@
class Usher
module Interface
class RackInterface
def initialize(&blk)
- @router = Usher.new(:request_methods => [:method, :host, :port, :scheme], :generator => Usher::Util::Generators::URL.new)
+ @router = Usher.new(:request_methods => [:request_method, :host, :port, :scheme], :generator => Usher::Util::Generators::URL.new)
instance_eval(&blk) if blk
end
def add(path, options = nil)
@router.add_route(path, options)