mirror of
https://github.com/writefreely/writefreely
synced 2024-11-10 11:24:13 +00:00
Fix admin nav rendering on page editing
This commit is contained in:
parent
303144fd24
commit
9fe528bf47
1 changed files with 3 additions and 2 deletions
5
admin.go
5
admin.go
|
@ -443,8 +443,9 @@ func handleViewAdminPage(app *App, u *User, w http.ResponseWriter, r *http.Reque
|
|||
Banner *instanceContent
|
||||
Content *instanceContent
|
||||
}{
|
||||
Config: app.cfg.App,
|
||||
Message: r.FormValue("m"),
|
||||
AdminPage: NewAdminPage(app),
|
||||
Config: app.cfg.App,
|
||||
Message: r.FormValue("m"),
|
||||
}
|
||||
|
||||
var err error
|
||||
|
|
Loading…
Reference in a new issue