lib/generators/templates/table.rb in table_cloth-0.1.2 vs lib/generators/templates/table.rb in table_cloth-0.2.0
- old
+ new
@@ -21,7 +21,9 @@
#
# Actions give you the ability to create a column for any actions you'd like to provide.
# Pass a block with an arity of 2, (object, view context).
# You can add as many actions as you want.
#
- # action {|object, view| view.link_to "Edit", edit_object_path(object) }
-end
\ No newline at end of file
+ # actions do
+ # action {|object| link_to "Edit", edit_object_path(object) }
+ # end
+end