Skip to content

Commit

Permalink
cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
apotonick committed May 3, 2016
1 parent 9de6e41 commit 43ca863
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ YOU CAN PASS BLOCK BUT IT WILL BE PASSED TO Template#render.
cell(Song::Cell, song)
```
:layout
:layout with :collection
## 4.0.5
* Fix `Testing` so you can use Capybara matchers on `cell(:song, collection: [..])`.
Expand Down
3 changes: 1 addition & 2 deletions lib/cell/collection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ def initialize(ary, options, cell_class)

module Call
def call(state=:show)
join(@join) { |cell, i| cell.(@method || state) }#.
#html_safe # FIXME: this is not desired outside of rails.
join(@join) { |cell, i| cell.(@method || state) }
end
end
include Call
Expand Down

0 comments on commit 43ca863

Please sign in to comment.