Permalink
Browse files

Removed references to 'routes' from ring.util.servlet

  • Loading branch information...
1 parent 1d5df73 commit e8c9185a142a9eda51b75ac0251611f04a0efaf5 @weavejester weavejester committed Jul 19, 2009
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/ring/util/servlet.clj
@@ -123,10 +123,10 @@
(defmacro defservice
"Defines a service method with an optional prefix suitable for being used by
genclass to compile a HttpServlet class.
- e.g. (defservice my-routes)
- (defservice \"my-prefix-\" my-routes)"
- ([routes]
- `(defservice "-" ~routes))
+ e.g. (defservice my-handler)
+ (defservice \"my-prefix-\" my-handler)"
+ ([handler]
+ `(defservice "-" ~handler))
([prefix handler]
`(defn ~(symbol (str prefix "service"))
[servlet# request# response#]

0 comments on commit e8c9185

Please sign in to comment.