Skip to content

Commit

Permalink
some spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
Crunch09 committed Jun 27, 2015
1 parent e6bfba6 commit 4a4c0ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/tabulatr/data/filtering.rb
Expand Up @@ -144,7 +144,8 @@ def date_in_between(from, to, column)

def find_column(name)
table_name, method_name = name.split(':').map(&:to_sym)
table_columns.find{|c| c.table_name == table_name && c.name == method_name} || filters.find{|f| f.name.to_sym == name.to_sym}
table_columns.find { |c| c.table_name == table_name && c.name == method_name } ||
filters.find { |f| f.name.to_sym == name.to_sym }
end

end
Expand Down

0 comments on commit 4a4c0ef

Please sign in to comment.