Skip to content

Commit 3fe0478

Browse files
committed
(refs #23)Display private gists on the top page
1 parent ae91ab0 commit 3fe0478

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/gitbucket/gist/controller/GistController.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ trait GistControllerBase extends ControllerBase {
4949
case ""|null => 1
5050
case s => s.toInt
5151
}
52-
val result = getVisibleGists((page - 1) * Limit, Limit, None)
52+
val result = getVisibleGists((page - 1) * Limit, Limit, context.loginAccount)
5353
val count = countPublicGists()
5454

5555
val gists: Seq[(Gist, GistInfo)] = result.map { gist =>

0 commit comments

Comments
 (0)