diff options
author | =Corey Hulen <corey@hulen.com> | 2015-10-19 10:29:10 -0700 |
---|---|---|
committer | =Corey Hulen <corey@hulen.com> | 2015-10-19 10:29:10 -0700 |
commit | 097d17bf2c4e07a153beb80afb15a546f291a418 (patch) | |
tree | 60da7e06f1e003ce669d7e83eefc70de279e02b7 /web | |
parent | 468f01dc895000211e62eb8a16feaa84ceb354ed (diff) | |
download | chat-097d17bf2c4e07a153beb80afb15a546f291a418.tar.gz chat-097d17bf2c4e07a153beb80afb15a546f291a418.tar.bz2 chat-097d17bf2c4e07a153beb80afb15a546f291a418.zip |
Fixing merge issue
Diffstat (limited to 'web')
-rw-r--r-- | web/web.go | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/web/web.go b/web/web.go index 7ea360a63..2ae9bb344 100644 --- a/web/web.go +++ b/web/web.go @@ -756,7 +756,6 @@ func adminConsole(c *api.Context, w http.ResponseWriter, r *http.Request) { return } -<<<<<<< HEAD teamChan := api.Srv.Store.Team().Get(c.Session.TeamId) userChan := api.Srv.Store.User().Get(c.Session.UserId) @@ -777,20 +776,16 @@ func adminConsole(c *api.Context, w http.ResponseWriter, r *http.Request) { user = ur.Data.(*model.User) } - page := NewHtmlTemplatePage("admin_console", "Admin Console") - page.User = user - page.Team = team - page.Session = &c.Session -======= params := mux.Vars(r) activeTab := params["tab"] teamId := params["team"] page := NewHtmlTemplatePage("admin_console", "Admin Console") - + page.User = user + page.Team = team + page.Session = &c.Session page.Props["ActiveTab"] = activeTab page.Props["TeamId"] = teamId ->>>>>>> master page.Render(c, w) } |