X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e5604ce98e267cb0cec7dd27078a9e86c919eeb1..fb953006a1a8fe2949f376e167dda963dfd784bd:/app/controllers/reports_controller.rb diff --git a/app/controllers/reports_controller.rb b/app/controllers/reports_controller.rb index ef87a8699..808726819 100644 --- a/app/controllers/reports_controller.rb +++ b/app/controllers/reports_controller.rb @@ -3,7 +3,8 @@ class ReportsController < ApplicationController before_action :authorize_web before_action :set_locale - before_action :require_user + + authorize_resource def new if required_new_report_params_present?