errors_controller.rb 316 B

12345678
  1. # Copyright (C) 2012-2024 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("This page doesn't exist.")) # rubocop:disable Zammad/DetectTranslatableString
  6. end
  7. end