]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/reports_controller.rb
Remove unnecessary requires from app
[rails.git] / app / controllers / reports_controller.rb
index ef87a8699fe807884ec29d09d65a1064bf49a2fa..8087268193d9159932826415b33f9e31a05b131c 100644 (file)
@@ -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?