aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
authorGuillaume2017-09-28 12:32:09 +0200
committerGuillaume2017-09-28 12:32:09 +0200
commit2867f7b992ea38934f69e86dd8d6dc9cc95b0afe (patch)
treebdc758bfd41f55e9ce08203e011a79eb2e84bd35 /app/controllers
parent290516ea175158ffb388734375c17143dfb794f5 (diff)
downloadchouette-core-2867f7b992ea38934f69e86dd8d6dc9cc95b0afe.tar.bz2
fix locales translations, remove unused array for date filters
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/compliance_check_sets_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/compliance_check_sets_controller.rb b/app/controllers/compliance_check_sets_controller.rb
index 7d964731d..d61fbafdb 100644
--- a/app/controllers/compliance_check_sets_controller.rb
+++ b/app/controllers/compliance_check_sets_controller.rb
@@ -30,7 +30,7 @@ class ComplianceCheckSetsController < BreadcrumbController
start_date << params[:q][:created_at]["begin(#{key}i)"].to_i
end_date << params[:q][:created_at]["end(#{key}i)"].to_i
end
- params[:q].delete([:created_at])
+ params[:q].delete(:created_at)
@begin_range = DateTime.new(*start_date, 0, 0, 0) rescue nil
@end_range = DateTime.new(*end_date, 23, 59, 59) rescue nil
end