Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Only count public pastes.

  • Loading branch information...
commit 5f3160ce203ce9d798b63577817fc398f925604a 1 parent c1c09e3
@Raynes Raynes authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/refheap/views/paste.clj
View
2  src/refheap/views/paste.clj
@@ -87,7 +87,7 @@
(render-paste-preview paste))])
(defn all-pastes-page [page]
- (let [paste-count (paste/count-pastes)]
+ (let [paste-count (paste/count-pastes false)]
(if (> page (paste/count-pages paste-count 20))
(redirect "/paste")
(layout
Please sign in to comment.
Something went wrong with that request. Please try again.