Skip to content

Commit 6d314c4

Browse files
committed
Fix template failure
1 parent f75a50f commit 6d314c4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

models/org.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,11 @@ func (org *Organization) AvatarLink() string {
9292
return org.AsUser().AvatarLink()
9393
}
9494

95+
// HTMLURL returns the organization's full link.
96+
func (org *Organization) HTMLURL() string {
97+
return org.AsUser().HTMLURL()
98+
}
99+
95100
// FindOrgMembersOpts represensts find org members conditions
96101
type FindOrgMembersOpts struct {
97102
db.ListOptions

0 commit comments

Comments
 (0)