summaryrefslogtreecommitdiffstats
path: root/models/access.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-02-28 21:50:04 -0500
committerUnknwon <u@gogs.io>2015-02-28 21:50:04 -0500
commitf44204e9449c09e0fef37a4974dc2f2043593d6f (patch)
treeba31d310aa942e40612f4f2b2f6f7eabb895091d /models/access.go
parent473e265727c1e47dd83e3f66a5cc92d2f027d951 (diff)
downloadgitea-f44204e9449c09e0fef37a4974dc2f2043593d6f.tar.gz
gitea-f44204e9449c09e0fef37a4974dc2f2043593d6f.zip
REAMDE: update
Diffstat (limited to 'models/access.go')
-rw-r--r--models/access.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/models/access.go b/models/access.go
index 00871f9481..f353c39a2f 100644
--- a/models/access.go
+++ b/models/access.go
@@ -87,6 +87,7 @@ func (u *User) GetAccessibleRepositories() (map[*Repository]AccessMode, error) {
repos[repo] = access.Mode
}
+ // FIXME: should we generate an ordered list here? Random looks weird.
return repos, nil
}