test/dummy/app/cells/song_cell.rb in cells-slim-0.0.2 vs test/dummy/app/cells/song_cell.rb in cells-slim-0.0.3
- old
+ new
@@ -53,6 +53,13 @@
capture do # FIXME: this escapes!
#[link_to("1", "/1"), link_to("2", "/2")].join("+") # this breaks, too!
"<b>No current page!<b>".html_safe
end
end
+
+ def concatting
+ content_tag :div do
+ concat content_tag :p, "Concat!"
+ concat "Whoo"
+ end
+ end
end
\ No newline at end of file