diff --git a/app/models/report_filter.rb b/app/models/report_filter.rb index 083a5df7..403d17df 100644 --- a/app/models/report_filter.rb +++ b/app/models/report_filter.rb @@ -40,7 +40,7 @@ class ReportFilter Report.joins(:target_user) .where(users: { screen_name: value }) when "type" - Report.where('LOWER(type) = ?', "reports::#{value}") + Report.where("LOWER(type) = ?", "reports::#{value}") end end end