diff --git a/sql_structs.go b/sql_structs.go index 8b7733a..010b885 100644 --- a/sql_structs.go +++ b/sql_structs.go @@ -96,7 +96,7 @@ func (b *Board) SomeEntries(start, end int64) ([]*Entry, error) { } func (b *Board) Url() string { - return "/board?id=" + b.Name + return "/board?id=" + strconv.Itoa(int(b.ID)) } // implementation of Jsonable