moves current_language to query_utils

pull/6827/head
jwollert 14 years ago
parent 64c7921c1c
commit bd632cd3bf
  1. 4
      lib/report/query_utils.rb

@ -46,6 +46,10 @@ module Report::QueryUtils
ActiveRecord::Base.connection.quote_string(str)
end
def current_language
::I18n.locale
end
##
# Creates a SQL fragment representing a collection/array.
#

Loading…
Cancel
Save