aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2017-09-01 18:08:58 +0200
committerTeddy Wing2017-09-01 18:08:58 +0200
commit44aeaeadfaf78ca1c43a6e182aaa67648f7e45f7 (patch)
tree0acfa761cbbd39d9ec67a7e9e56eccb86950e1b5
parente278efb2eb66cd5bbe9072a81b86efe17dfbd251 (diff)
downloadchouette-core-44aeaeadfaf78ca1c43a6e182aaa67648f7e45f7.tar.bz2
TableBuilderHelper: Fix formatting of doc example
-rw-r--r--app/helpers/table_builder_helper.rb13
1 files changed, 12 insertions, 1 deletions
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 <span class="test">Info</span>', width: 2, cls: 'default'} ]
+# overhead: [
+# {
+# title: 'one',
+# width: 1,
+# cls: 'toto'
+# },
+# {
+# title: 'two <span class="test">Info</span>',
+# width: 2,
+# cls: 'default'
+# }
+# ]
# )
module TableBuilderHelper
# TODO: rename this after migration from `table_builder`