Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixes issue #57

  • Loading branch information...
commit 2d33d2accf98abacbbdac37f6b91b5f501ea9a92 1 parent 8c5f92b
@amcnamara amcnamara authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/refheap/views/paste.clj
View
2  src/refheap/views/paste.clj
@@ -131,7 +131,7 @@
(when-let [user (:user (paste/get-paste id))]
(when (= user (:id (session/get :user)))
(paste/delete-paste id)
- (redirect "/paste"))))
+ (redirect (str "/users/" (:username (session/get :user)))))))
(defpage "/paste/:id/raw" {:keys [id]}
(when-let [content (:raw-contents (paste/get-paste id))]
Please sign in to comment.
Something went wrong with that request. Please try again.