]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/issues_controller.rb
Merge remote-tracking branch 'upstream/pull/2190'
[rails.git] / app / controllers / issues_controller.rb
index 8943f2d4aca695bd0ec2c6766586a70ffae95de1..61f466f626a0ef94e27fc908e0b670d0f6aaac82 100644 (file)
@@ -82,13 +82,4 @@ class IssuesController < ApplicationController
   def find_issue
     @issue = Issue.find(params[:id])
   end
-
-  def deny_access(_exception)
-    if current_user
-      flash[:error] = t("application.require_moderator_or_admin.not_a_moderator_or_admin")
-      redirect_to root_path
-    else
-      super
-    end
-  end
 end