package forumroutes import ( "github.com/aerogo/layout" "github.com/animenotifier/notify.moe/pages/forum" "github.com/animenotifier/notify.moe/pages/newthread" "github.com/animenotifier/notify.moe/pages/post" "github.com/animenotifier/notify.moe/pages/thread" ) // Register registers the page routes. func Register(l *layout.Layout) { // Forum l.Page("/forum", forum.Get) l.Page("/forum/:tag", forum.Get) // Thread l.Page("/thread/:id", thread.Get) l.Page("/new/thread", newthread.Get) // Post l.Page("/post/:id", post.Get) }