Permalink
Browse files

Merge pull request #20 from tyler/master

HTTP methods fixes.
  • Loading branch information...
2 parents 8912ae0 + a1a34a6 commit ffe7936dc0f04f31b3b04d646456d2a3a43dee24 @joshbuddy committed Sep 27, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/http_router/route.rb
View
@@ -2,7 +2,7 @@
class HttpRouter
class Route
- VALID_HTTP_VERBS = %w{GET POST PUT DELETE HEAD OPTION}
+ VALID_HTTP_VERBS = %w{GET POST PUT DELETE HEAD OPTIONS TRACE}
attr_reader :default_values, :router, :match_partially, :other_hosts, :paths, :request_methods
attr_accessor :match_partially, :router, :host, :user_agent, :name, :ignore_trailing_slash,

0 comments on commit ffe7936

Please sign in to comment.