Permalink
Browse files

Initialize Args with an empty map.

  • Loading branch information...
1 parent 132b507 commit 9c0fbf3b845f4545078514d79d8284fde7b076b7 @robfig committed Nov 18, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 controller.go
View
@@ -36,6 +36,7 @@ func NewController(req *Request, resp *Response, ct *ControllerType) *Controller
Request: req,
Response: resp,
Params: ParseParams(req),
+ Args: map[string]interface{}{},
RenderArgs: map[string]interface{}{
"RunMode": RunMode,
},

0 comments on commit 9c0fbf3

Please sign in to comment.