Permalink
Browse files

flash all param values

  • Loading branch information...
1 parent 45205f6 commit 5dd617678b445f034f448a53b8014a21ae2582de @immon immon committed Nov 20, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 controller.go
View
2 controller.go
@@ -48,7 +48,7 @@ func NewController(req *Request, resp *Response) *Controller {
func (c *Controller) FlashParams() {
for key, vals := range c.Params.Values {
- c.Flash.Out[key] = vals[0]
+ c.Flash.Out[key] = strings.Join(vals, ",")
}
}

0 comments on commit 5dd6176

Please sign in to comment.