Skip to content

Commit

Permalink
Merge pull request revel#374 from immon/i191
Browse files Browse the repository at this point in the history
Flash arrays as comma-separated string
  • Loading branch information
robfig committed Nov 20, 2013
2 parents 94e0a3b + 5dd6176 commit a57b626
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller.go
Expand Up @@ -48,7 +48,7 @@ func NewController(req *Request, resp *Response) *Controller {


func (c *Controller) FlashParams() { func (c *Controller) FlashParams() {
for key, vals := range c.Params.Values { for key, vals := range c.Params.Values {
c.Flash.Out[key] = vals[0] c.Flash.Out[key] = strings.Join(vals, ",")
} }
} }


Expand Down

0 comments on commit a57b626

Please sign in to comment.