Skip to content

Commit 8edb456

Browse files
author
Nicolas Rodriguez
committed
Remove dead code
1 parent bb5e75b commit 8edb456

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

lib/ajax-datatables-rails/base.rb

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -69,25 +69,6 @@ def connected_columns
6969

7070
private
7171

72-
# view_columns can be an Array or Hash. we have to support all these formats of defining columns
73-
def connect_view_columns
74-
# @connect_view_columns ||= begin
75-
# adapted_options =
76-
# case view_columns
77-
# when Hash
78-
# when Array
79-
# cols = {}
80-
# view_columns.each_with_index({}) do |index, source|
81-
# cols[index.to_s] = { source: source }
82-
# end
83-
# cols
84-
# else
85-
# view_columns
86-
# end
87-
# ActiveSupport::HashWithIndifferentAccess.new adapted_options
88-
# end
89-
end
90-
9172
def retrieve_records
9273
records = fetch_records
9374
records = filter_records(records)

0 commit comments

Comments
 (0)