Permalink
Browse files

renamed a method in Clack.Util.Route.

  • Loading branch information...
1 parent 1a7c3ac commit 64b0851fb3c31a2ebf8c7de72e49689c50d981de @fukamachi committed Jun 13, 2011
Showing with 6 additions and 6 deletions.
  1. +6 −6 src/util/route.lisp
View
@@ -20,10 +20,10 @@
@export
(defclass <url-rule> ()
- ((method :type symbol
- :initarg :method
- :initform :get
- :accessor method)
+ ((request-method :type symbol
+ :initarg :method
+ :initform :get
+ :accessor request-method)
(url :type string
:initarg :url
:accessor url)
@@ -85,8 +85,8 @@
(t enc))))
(defmethod match-method-p ((this <url-rule>) method)
- (or (string= :ANY (method this))
- (string= method (method this))))
+ (or (string= :ANY (request-method this))
+ (string= method (request-method this))))
@export
(defmethod match ((this <url-rule>) method url-string)

0 comments on commit 64b0851

Please sign in to comment.