errors_controller.rb 294 B

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