Permalink
Browse files

Merge pull request #374 from immon/i191

Flash arrays as comma-separated string
  • Loading branch information...
2 parents 94e0a3b + 5dd6176 commit a57b62694aedbe4e7df9023de08a634345dea715 @robfig committed Nov 20, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 controller.go
View
@@ -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 a57b626

Please sign in to comment.