The backend for the AiteStory website
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
240 B

7 years ago
  1. package viewmodel
  2. import (
  3. "git.aiterp.net/AiteRP/aitestory/model"
  4. "git.aiterp.net/gisle/wrouter/auth"
  5. )
  6. type PageView struct {
  7. Base
  8. Page *model.Page
  9. }
  10. func (pv *PageView) Setup(user *auth.User) {
  11. pv.setupBase(user, pv.Page.Name)
  12. }