RobinBrouwer/gritter — Issue #12: gflash returns an array when passed :js => true
Author: warmwaffles
Created: 2012-01-23 06:27:09+00:00
State: open

I've had to do a hacky work around

`update.js.erb`

```erb
<%= (gflash :js => true)[0] %>
```

or this

```erb
<%- (gflash :js => true).each do |s| %>
<%=s%>
<%- end -%>
```

Can anyone tell me why this is?