Permalink
Browse files

Removed tabs from r.m.session indentation.

  • Loading branch information...
1 parent 998bd11 commit 7bcb890d7a440589327f64345ca14672e742ec38 @weavejester weavejester committed Apr 3, 2010
Showing with 8 additions and 8 deletions.
  1. +8 −8 ring-core/src/ring/middleware/session.clj
View
16 ring-core/src/ring/middleware/session.clj
@@ -24,8 +24,8 @@
(wrap-session handler {}))
([handler options]
(let [store (options :store (memory-store))
- cookie (options :cookie-name "ring-session")
- cookie-attrs (options :cookie-attrs {})]
+ cookie (options :cookie-name "ring-session")
+ cookie-attrs (options :cookie-attrs {})]
(wrap-cookies
(fn [request]
(let [sess-key (get-in request [:cookies cookie :value])
@@ -38,9 +38,9 @@
(if sess-key
((store :delete) sess-key))))
response (dissoc response :session)]
- (if (and sess-key* (not= sess-key sess-key*))
- (assoc response
- :cookies (merge (response :cookies)
- {cookie (merge cookie-attrs
- {:value sess-key*})}))
- response)))))))
+ (if (and sess-key* (not= sess-key sess-key*))
+ (assoc response
+ :cookies (merge (response :cookies)
+ {cookie (merge cookie-attrs
+ {:value sess-key*})}))
+ response)))))))

0 comments on commit 7bcb890

Please sign in to comment.