X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/696bbd169b210bd0ab29a045d8952c9839a09690..c71fd544e0b33246dfcc677ec830efc2031d419e:/app/controllers/reports_controller.rb diff --git a/app/controllers/reports_controller.rb b/app/controllers/reports_controller.rb index 21c717581..8a1bed508 100644 --- a/app/controllers/reports_controller.rb +++ b/app/controllers/reports_controller.rb @@ -29,7 +29,7 @@ class ReportsController < ApplicationController private def required_new_report_params_present? - create_new_report_params['reportable_id'].present? && create_new_report_params['reportable_type'].present? + create_new_report_params["reportable_id"].present? && create_new_report_params["reportable_type"].present? end def create_new_report_params