zammad/app/controllers/errors_controller.rb
2024-01-02 11:55:19 +01:00

8 lines
294 B
Ruby

# Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
class ErrorsController < ApplicationController
skip_before_action :verify_csrf_token
def routing
not_found(ActionController::RoutingError.new("No route matches [#{request.method}] #{request.path}"))
end
end