From 44aeaeadfaf78ca1c43a6e182aaa67648f7e45f7 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Fri, 1 Sep 2017 18:08:58 +0200 Subject: TableBuilderHelper: Fix formatting of doc example --- app/helpers/table_builder_helper.rb | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'app/helpers/table_builder_helper.rb') diff --git a/app/helpers/table_builder_helper.rb b/app/helpers/table_builder_helper.rb index df37cf55f..ec4d487c1 100644 --- a/app/helpers/table_builder_helper.rb +++ b/app/helpers/table_builder_helper.rb @@ -46,7 +46,18 @@ require 'table_builder_helper/url' # ], # links: [:show, :edit], # cls: 'table has-search', -# overhead: [ {title: 'one', width: 1, cls: 'toto'}, {title: 'two Info', width: 2, cls: 'default'} ] +# overhead: [ +# { +# title: 'one', +# width: 1, +# cls: 'toto' +# }, +# { +# title: 'two Info', +# width: 2, +# cls: 'default' +# } +# ] # ) module TableBuilderHelper # TODO: rename this after migration from `table_builder` -- cgit v1.2.3