forked from forgejo/forgejo
clean code
This commit is contained in:
parent
ca86433402
commit
b9e57e41ce
5 changed files with 117 additions and 130 deletions
|
@ -58,10 +58,11 @@ func InitContext() martini.Handler {
|
|||
ctx := &Context{
|
||||
c: c,
|
||||
// p: p,
|
||||
Req: r,
|
||||
Res: res,
|
||||
Data: data,
|
||||
Render: rd,
|
||||
Req: r,
|
||||
Res: res,
|
||||
Session: session,
|
||||
Data: data,
|
||||
Render: rd,
|
||||
}
|
||||
|
||||
// Get user from session if logined.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue